Skip to content

Prefetch forked repos from source repos during GEO secondary sync

John Cai requested to merge jc-pre-fetch into master

What does this MR do?

When a forked repository is part of an object pool, we can optimize the sync fetch by doing a shared clone from the fork source (if the fork source has already synced)

the "pre-fetch" does a "git clone --shared" of the fork source, and sets the alternates file to point to the pool repository. Subsequently when we do the actual fetch, it already has the objects and only needs to fetch refs it does not yet have.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by John Cai

Merge request reports