Truncate migrated sec tables on gitlab_main
What
Upon completion of the rollout and verification that we won't need to rollback to main, we can safely truncate the old sec tables within patroni-main. This will need to happen after we break reverse logical replication and have locked the sec tables within patroni-main.
Tasks
- Update
gitlab:db:truncate_legacy_tablesrake task to support sec DB - Execute
gitlab:db:truncate_legacy_tables:mainagainst GSTG - Execute (newly added)
gitlab:db:truncate_legacy_tables:secagainst GSTG - Execute
gitlab:db:truncate_legacy_tables:mainagainst GPRD - Execute (newly added)
gitlab:db:truncate_legacy_tables:secagainst GPRD
Edited by Lucas Charles