Geo: Implement design management repository replication for organization migration
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
As part of organization migration from Legacy Cell to Protocell, Geo must replicate design Git repositories. But repository storages differ between cells, and repository storages are managed in the PG DB. Therefore PG replication requires some kind of special handling of repository storages. By chance, since design repos reuse the same storage as project repos, in this issue, the main task is testing.
Background
-
DesignManagement::Repositorydelegates#repository_storageto the associatedProject. -
design_management_repositoriesis currently already sharded byproject_id - This issue is blocked by Geo: Implement project repository replication f... (#577735) because we will rely on
projects.repository_storagebeing properly updated as part of replicatingprojectsdata. This issue isn't a blocker after the transition to sharding bynamespace_idthough. - On migration, assuming the delegated
repository_storageis working, Geo can sync design Git repos as normal.
Tasks for Geo Team
-
Classify this table as gitlab_main_org(it is currentlygitlab_main_cell) -
design_management_repositoriesis transitioning to sharding bynamespace_id, so we must transition at the same time -
Ensure there are sufficient automated (unit? QA?) tests to meet GitLab's standards -
Smoke test locally
Related
- Parent epic: Organization migration: Handle replicables of c... (&18601)
- Architecture decisions: #515383 (comment 2743597917)+
- At the moment, depends on: Geo: Implement project repository replication f... (#577735)
Edited by 🤖 GitLab Bot 🤖