Draft: Disable advisory locks in db:check-schema CI job
What does this MR do and why?
Disable advisory locks in db:check-schema CI job
This CI job is the slowest job in a tier-3 pipeline now, and its duration has crept up to 60 minutes over the last year. Part of the reason that it is slow now is that for every database migration for 3 databases, Rails takes an advisory lock. Since this CI job is only concerned about migrating the database to check the schema, we should not need to worry about concurrent access issues.
Relates to #555535 (closed)
References
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.