Update artifact_state to include partition_id filter for job_artifacts
requested to merge 430294-update-queries-to-include-partition_id-filter-for-ci_job_artifacts-2 into master
What does this MR do and why?
After partitioning the Ci::JobArtifact
table, we need to update all the related queries to use the partition_id
filter to improve their performance and avoid needlessly searching all the partitions
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 #430294 (closed)
Edited by Panos Kanellidis