-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ILM] Surface linked hidden indices for policy #87960
[ILM] Surface linked hidden indices for policy #87960
Conversation
1fd9caf
to
9deec9d
Compare
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
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.
Thanks for working on this, @alisonelizabeth ! I tested locally and the fix worked. Great job adding API integration tests too 👍
While I was testing though, I noticed that while the link to Index Management works, the indices list there is not including the correct ILM information for backing indices of a hidden data stream. I believe the same fix is needed here. I'll create an issue for that.
Great catch @yuliacech! I think you're correct. Thanks for opening up an issue for this. |
Fixes #87897
An ILM policy associated to a hidden data stream would show "0" for linked indices and allow deletion in the UI, when it should be disabled. This bug does not exist on 7.10, so skipping release note. I think it is related to the introduction of hidden data streams via elastic/elasticsearch#63987.
How to test
This can be tested against the
ilm-history-ilm-policy
or thewatch-history-ilm-policy
policies. You can also create your own policy with a hidden data stream as outlined below: