Skip to content

Validate and replace FK for p_ci_builds_metadata and ci_builds

What does this MR do and why?

Related to #382033 (closed)

It builds on top of previous MRs that added the composable foreign key on the partitions(!112316 (merged)) and validated it asynchronously(!112788 (merged)) to now fully replace the non-partitioned foreign key on the p_ci_builds_metadata table.

This is the last remaining FK that needs to be updated before swapping the primary key for partitioning. 🎉

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.

Edited by Marius Bobin

Merge request reports