Draft: Fix for gitlab:elastic:recreate_index rake task
What does this MR do and why?
Fix for gitlab:elastic:recreate_index rake task
Active indexing jobs could create the main gitlab-production alias and underlying index if data is added while this rake task is run. This is possible on very busy self managed instances. This fix checks the current setting and disabling indexing temporarily while the existing indexes are deleted and recreated.
Changelog: fixed EE: true
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.
-
I have evaluated the MR acceptance checklist for this MR.