Skip to content

Always git fetch after snapshot repository creation

James Fargher requested to merge always_sync_after_creation into master

Fixes #2863 (closed)

Changes ReplicateRepository to always sync, even after creation.

When creating a repository on a shard, ReplicateRepository uses GetSnapshot but it is not guaranteed to be consistent. Fetching after creation should force the repository into a consistent state. The fetch will be small as most objects will have been transferred.

Edited by GitLab Release Tools Bot

Merge request reports