Patching deployment bigint swap for missing index

What does this MR do and why?

This skips swapping the index index_deployments_on_id_and_status_and_created_at if it could not be found.

Somehow, some dedicated customers were missing this index.

Since this index is used for data analytics, it's not a mandatory index and is only applicable for SM customers.

This MR skips this index if it's not found, so at least it's consistent

References

Self-hosted docker upgrade from 18.10 to 18.11 ... (#597558 - closed)

This will be backported to 19.0, 18.11

Screenshots or screen recordings

Before After

How to set up and validate locally

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 Max Fan

Merge request reports

Loading