Swap bigint columns on merge_requests stage three

What does this MR do and why?

This is the final MR where we swap stage 3 bigint columns for merge_requests table.

In before MRs, we have prepared indexes (async and sync), and FKs (async validation). And this MR, we perform below things,

  • Add sync FK validation for non-GitLab.com ENVs
  • Add final step for partition FK validation
  • Swap stage 2 bigint columns (id, author_id) and related indexes and FKs
  • Drop temp indexes, FKs after swap (leave columns for final removal together after one milestone stop)

References

Screenshots or screen recordings

NA

How to set up and validate locally

NA

Process Plan

This MR would follow unstandard process, and would not run on GitLab.com via normal PDM.

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 zli

Merge request reports

Loading
Loading