Add warning for the gitlab:elastic:index task
What does this MR do and why?
This MR adds a warning to the gitlab:elastic:index
rake task to warn users if they have indexing paused.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Pause indexing via
Gitlab::CurrentSettings.update!(elasticsearch_pause_indexing: true)
- Execute
bin/rake gitlab:elastic:index
- Ensure that it outputs the warning
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.
Related to #297411 (closed)
Edited by Dmitry Gruzd