Skip to content

Prepare async index for auto_canceled_by_id_convert_to_bigint

Tianwen Chen requested to merge 422835-ensure-backfill into master

What does this MR do and why?

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 p_ci_builds.auto_canceled_by_id_convert_to_bigint as the foreign key constraint requires the index

so that we can later swap auto_canceled_by_id_convert_to_bigint with auto_canceled_by_id

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

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.

Related to #422835 (closed)

Merge request reports