-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make watch history indices hidden (#52962) #52974
Conversation
This commit updates the template used for watch history indices with the hidden index setting so that new indices will be created as hidden. Relates elastic#50251
Pinging @elastic/es-core-features (:Core/Features/Watcher) |
@gwbrown I am requesting a review because the backport was not trivial. Essentially the BWC tests failed due to watcher failing to start after the first node was upgraded. The issue is that the A side note, I noticed that the ILM/SLM template also had the same issue based on log output. It might be ok for rolling upgrades, but I figured I would mention it just in case it was not. |
The LocalIndicesCleanerTests#testHandlesWatcherHistory creates random watch history indices with a version of 1-20. When the version is 11, this matches the existing watch history template that has the index.hidden setting set to true and the check for indices in this test did not include hidden indices. The change here updates the indices options to include hidden indices. Closes elastic#53025
@elasticmachine run elasticsearch-ci/1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit updates the template used for watch history indices with
the hidden index setting so that new indices will be created as hidden.
Relates #50251
Backport of #52962