Resolve "JobArtifactState.checksummed_count query timing out"
What does this MR do and why?
This MR adds a new index to ci_job_artifact_states
to assist in mitigating query timeouts on heavily loaded Gitlab Dedicated instances.
This decision was made after this discussion.
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.
Related to #471727 (closed)
Edited by Panos Kanellidis