Remove redundant index from container_repositories
What does this MR do and why?
Remove index_container_repositories_on_project_id
, as project_id
is also covered by index_container_repositories_on_project_id_and_id
.
Related to gitlab-com/gl-infra/scalability#2301 (comment 1367819271).
While index_container_repositories_on_project_id
is still used (Thanos), once we remove it, the planner will switch to using index_container_repositories_on_project_id_and_id
.
Execution plans:
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Krasimir Angelov