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

ILM: add ability to delete the Xth rollover index #52308

Closed
fbaligand opened this issue Feb 13, 2020 · 4 comments
Closed

ILM: add ability to delete the Xth rollover index #52308

fbaligand opened this issue Feb 13, 2020 · 4 comments
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management

Comments

@fbaligand
Copy link
Contributor

Describe the feature:
In ILM feature, in delete phase, it would be nice to add the ability to remove the Xth rollover index.
For instance, in UI, you say “5 rollovers” instead of “5 days”, and that means that the index index-00001 will be deleted when current write index is index-00006 (there have been 5 rollovers).

This is particularly useful when on hot phase, you define a rollover rule only based on index size.
With such a delete phase rule, you can ensure that you will never reach data FS size.
It is quite equivalent to log rollover rules based on size and number to avoid full FS.

@martijnvg martijnvg added the :Data Management/ILM+SLM Index and Snapshot lifecycle management label Feb 13, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

@jasontedor
Copy link
Member

With such a delete phase rule, you can ensure that you will never reach data FS size.
It is quite equivalent to log rollover rules based on size and number to avoid full FS.

It sounds like you might more directly want the ability to limit by total size across an "index stream", is that fair to say? For example, see #49392.

@fbaligand
Copy link
Contributor Author

Well, I agree that is other issue is quite the same.
So do I close this one?

@jasontedor
Copy link
Member

Yes, closing.

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
Projects
None yet
Development

No branches or pull requests

4 participants