Skip to content

Swap merge_request_metrics.id to bigint for self-managed

What does this MR do and why?

This MR finalizes the conversion to bigint for merge_request_metrics.id for self-managed customers, following the process outlined here.

It takes the following steps:

  • Ensure the migration from id to id_convert_to_bigint is complete
  • Create the new indexes and PK for the swap to the bigint column
  • Swap the columns

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.

Related to #389516 (closed)

Edited by Krasimir Angelov

Merge request reports