-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Manual rollover on ILM indices leads to Error #44175
Comments
Pinging @elastic/es-core-features |
@fkelbert can you explain what you'd want ES to do here? In this case, it went to roll over the index but it's not actually the correct index since it was manually rolled over. Do you have a use case for manual and automatic rollover at the same time? |
We discussed this in the core/features sync today. Because Rollover information is recorded in the index metadata when an index is rolled over, we can detect this situation in ILM, and have ILM skip trying to roll over the index if it has been rolled over via the alias configured in The upshot of this is that we're going to move ahead with implementing this feature to have ILM skip the rollover action if it detects that an index has been manually rolled over via the alias defined in |
The use case / situation here was as follows:
Is there a possibility to make the "ILM skip rollover behaviour" configurable? Should we have handled the above situation differently? |
Are you talking about the proposed rollover skip behavior? Where we would automatically detect that you manually rolled over and skip the ILM-level rollover?
No that sounds like a valid use case, thanks for explaining it. This will help us figure out the best solution for this issue. |
Yes.
Great! happy to provide more input if needed. |
We could probably add a setting to enable/disable the auto-rollover detection/skipping. @gwbrown what do you think? |
It's definitely possible to add a setting to control that behavior, my only concern is that I think the setting is going to be rather confusing to explain, and entirely unnecessary for most users. That's probably solvable with an info box in the docs that says something to the effect of "This is an expert setting, you probably don't need it" though. |
One workaround is to move the index in error to a stable state:
|
Thank you very much for fixing @andreidan |
ES 7.2.0
Manually rolling over an ILM index leads to the error shown in the screenshot.
Steps to reproduce:
is_write_index
The text was updated successfully, but these errors were encountered: