-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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] rollover + settings.index.priority
#36905
Comments
Pinging @elastic/es-core-features |
@jpcarey - wouldn't the implicit priority for roll over always be the current index ? From https://elastic.co/guide/en/elasticsearch/reference/6.5/recovery-prioritization.html :
Can you describe your use case a bit more (or help me understand why the implicit recovery order isn't sufficient). |
@jakelandis in the case of multiple rollover indices, you can have different size/document/age requirements for each rollover setup. This means you could have newer rolled over indices from rollover setup "A", vs the current target index setup for rollover "B". |
Chatted with @jpcarey on this for a bit and the crux of the issues is to help ensure that current index, across all indexes, are prioritized for recovery. For example, if you have a The change here could be to add a high priority to current writable index and remove it when it rolls over or decrease the priority when it rolls over (assuming the the priority is already set). The goal to ensure/enable the ability to allow the current writable indexes that are managed by ILM to recover first. Proposal: Thoughts? |
We discussed this abit and will implement this as a new action available for the The tentative API will look like this: (where the set_priority will always execute as the first action if multiple actions are defined)
|
This commit adds a set_priority action to the hot, warm, and cold phases for an ILM policy. This action sets the `index.priority` on the managed index to allow different priorities between the hot, warm, and cold recoveries. This commit also includes the HLRC and documentation changes. closes elastic#36905
This commit adds a set_priority action to the hot, warm, and cold phases for an ILM policy. This action sets the `index.priority` on the managed index to allow different priorities between the hot, warm, and cold recoveries. This commit also includes the HLRC and documentation changes. closes #36905
This commit adds a set_priority action to the hot, warm, and cold phases for an ILM policy. This action sets the `index.priority` on the managed index to allow different priorities between the hot, warm, and cold recoveries. This commit also includes the HLRC and documentation changes. closes #36905
Describe the feature: It seems like setting the
index.priority
on the underlying indices so that the current index (rollover, daily?) would always be prioritized for recovery.It could be set via the template, but then it needs to be lowered as new indices are created.
https://www.elastic.co/guide/en/elasticsearch/reference/6.5/recovery-prioritization.html
The text was updated successfully, but these errors were encountered: