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_tables
rake task to support sec DB - Execute
gitlab:db:truncate_legacy_tables:main
against GSTG - Execute (newly added)
gitlab:db:truncate_legacy_tables:sec
against GSTG - Execute
gitlab:db:truncate_legacy_tables:main
against GPRD - Execute (newly added)
gitlab:db:truncate_legacy_tables:sec
against GPRD
Edited by Lucas Charles