Remove wiki_size index on project statistics
What does this MR do and why?
Remove index_project_statistics_on_wiki_size_and_project_id
index on project statistics
Synchronously removes the index on project_statistics for wiki size and project id, only for GitLab.com.
The index was removed async as part of #467342 (closed) in !156010 (merged)
Refs #466691 (closed)
Database
Migrate up:
main: == [advisory_lock_connection] object_id: 132700, pg_backend_pid: 4095
main: == 20240708130252 RemoveIdxProjectStatisticsWikiSizeAndProjectIdSync: migrating
main: == 20240708130252 RemoveIdxProjectStatisticsWikiSizeAndProjectIdSync: migrated (0.0074s)
Migrate down:
bin/rails db:migrate:down:main VERSION=20240708130252
main: == [advisory_lock_connection] object_id: 128460, pg_backend_pid: 6605
main: == 20240708130252 RemoveIdxProjectStatisticsWikiSizeAndProjectIdSync: reverting
main: == 20240708130252 RemoveIdxProjectStatisticsWikiSizeAndProjectIdSync: reverted (0.0034s)
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