Removes storage_size index on project statistics
What does this MR do and why?
Removes index_project_statistics_on_storage_size_and_project_id
index on project statistics
Synchronously removes the index on project_statistics for storage size and project id, only for GitLab.com.
The index was removed async as part of #467342 (closed) in !156005 (merged)
Refs #466691 (closed)
Database
Migrate up:
main: == [advisory_lock_connection] object_id: 128820, pg_backend_pid: 39791
main: == 20240708121037 RemoveIdxProjectStatisticsStorageSizeAndProjectIdSync: migrating
main: == 20240708121037 RemoveIdxProjectStatisticsStorageSizeAndProjectIdSync: migrated (0.0044s)
Migrate down:
main: == [advisory_lock_connection] object_id: 128460, pg_backend_pid: 43002
main: == 20240708121037 RemoveIdxProjectStatisticsStorageSizeAndProjectIdSync: reverting
main: == 20240708121037 RemoveIdxProjectStatisticsStorageSizeAndProjectIdSync: reverted (0.0043s)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Vijay Hawoldar