Skip to content

Finalize conversion for FKs targeting p_ci_builds - 3 self-managed

Marius Bobin requested to merge 414396-finalize-fk-conversion-6 into master

What does this MR do and why?

Completes the FK swap for p_ci_builds_metadata and p_ci_runner_machine_builds for self-managed. These migrations were executed on .com with:

  • !124310 (merged) skipped on CI database because of wraparound autovacuum on ci_builds
  • !126122 (merged) - ReplaceOldFkPCiBuildsMetadataToBuildsV2 failed to get the exclusive lock on ci_builds
  • !126701 (merged) - successfully executed ReplaceOldFkPCiBuildsMetadataToBuildsV2 instructions during the weekend.

They will be no-op on .com.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

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.

Related to #414396 (closed)

Edited by Marius Bobin

Merge request reports