[go: up one dir, main page]

Swap bigint columns on merge_requests stage two

What does this MR do and why?

This is the final MR where we swap stage 2 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 (target_project_id, latest_merge_request_diff_id, last_edited_by_id) and related indexes and FKs
  • Drop temp indexes, FKs after swap (leave columns for final removal together after one milestone stop)

References

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