Skip to content
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

Add ability to cancel an ILM step #45143

Closed
galindro opened this issue Aug 2, 2019 · 2 comments
Closed

Add ability to cancel an ILM step #45143

galindro opened this issue Aug 2, 2019 · 2 comments
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team

Comments

@galindro
Copy link

galindro commented Aug 2, 2019

According to this documentation section, I can't change the version of the policy on the index because it's currently checking if it's ready to be rolled over. Unfortunately there's no way to force it to change it's policy version to be used. I see that even change it to use another policy, the older one's phase still must finish before it can use the new policy. This is a really annoying situation. For example: imagine if I set, by mistake, the max_size to 100 GB and the primary shards of the index attached to the policy never reach that size?

One thing that I can do to workaround this limitation would be to re-index the data from the original index that’s still bound to the original version of the policy into one that either matches the naming pattern to have a corresponding template and policy automatically applied or manually assigning the policy before re-indexing. Therefore, the latest iteration of the policy should apply.

But it is stills a boring situation. I agree that this isn't a large scale problem, but it can simply be resolved by adding an API action for cancel the current step or something to force the transition to the next policy step.

@cbuescher cbuescher added :Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement labels Aug 2, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@rjernst rjernst added the Team:Data Management Meta label for data/management team label May 4, 2020
@dakrone
Copy link
Member

dakrone commented Dec 9, 2020

Closing this as this is now possible with the work introduced in #50820

@dakrone dakrone closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement Team:Data Management Meta label for data/management team
Projects
None yet
Development

No branches or pull requests

5 participants