Skip to content

repository: Sync Git alternates during replication

Justin Tobler requested to merge jt-replicate-repository-alternates into master

When a repository is replicated via the ReplicateRepository() RPC, object pool relationships are not recreated on the target repository. This change introduces Git altnernates file syncing between source and target repositories when the replicate_object_pool field is enabled for the RPC.

This operation is currently limited to linking the target repository to its object pool on the target storage. If the required target object pool does not exist, the target repository is not linked and replication continues as normal.

Edited by Justin Tobler

Merge request reports