Add project_id sharding key to p_ci_pipeline_artifact_states
What does this MR do and why?
Adds project_id sharding key to p_ci_pipeline_artifact_states table with index, foreign key, trigger, and batched background migration.
References
Closes #587555 (closed)
How to set up and validate locally
Run the migrations and verify the column, index, and FK exist on the table.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Natanael Silva