Use with_lock_retries helper to remove code hotspot tables
This issue is to verify whether the newly introduced migration helper method implemented in !22479 (merged) is able to remove tables from the production database.
Plan
(copied from !22479 (comment 273121446))
Create an MR with the following migrations
- Removing FK on
projectsfromanalytics_repository_filestable. - Removing FK on
projectsfromanalytics_repository_file_editstable. - Removing FK on
projectsfromanalytics_repository_file_commitstable. - Removing FK on
analytics_repository_filesfromanalytics_repository_file_editstable. - Removing FK on
analytics_repository_filesfromanalytics_repository_file_commitstable. - Dropping
analytics_repository_files,analytics_repository_file_commitsandanalytics_repository_file_editstables.
Additional tasks
- Coordinate with
deliverygroup for getting access to thelog/migrations.logfile. - Create a revert MR so we can undo things in case the retry mechanism fails.
Related issue: #196733 (closed)