Hide reindexing required alert when index does not exist
What does this MR do and why?
This adds an additional check to determine if the index exists. Resolves #362161 (closed)
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
- Setup fresh GDK/GitLab instance with Advanced Search disabled and no index created
- Navigate to Advanced Search settings
- Observe warning being not being shown
- Enable Advanced Search and create an index.
- Observe warning is still not shown.
- Delete an alias:
curl -X DELETE "localhost:9200/gitlab-development-*/_alias/gitlab-development"
- Observe the warning once the index exists and an alias is removed
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.
Edited by Cleveland Bledsoe Jr