Skip to content

Prepare async index for pipeline_id_convert_to_bigint

Tianwen Chen requested to merge 412864-async-create-index into master

What does this MR do and why?

Prepare async index for ci_pipeline_variables.pipeline_id_convert_to_bigint

As titled, this is the first step of creating indexes asynchronously. See guideline at https://docs.gitlab.com/ee/development/database/adding_database_indexes.html#schedule-the-index-to-be-created

It's to schedule the index creation for ci_pipeline_variables' pipeline_id_convert_to_bigint so that we can swap pipeline_id_convert_to_bigint with pipeline_id

NOTE: Backfill is finished as reported at https://gitlab.slack.com/archives/C101F3796/p1688744116510039

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 #412864 (closed)

Edited by Tianwen Chen

Merge request reports