Skip to content

Resolve "Migrate merge_request_metrics.id to bigint"

What does this MR do and why?

This MR finalizes the conversion to bigint for merge_request_metrics.id for Self-host 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

Describe in detail what your merge request does and why.

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 Diogo Frazão

Merge request reports