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

Feature Request - include snapshot as part of ILM before delete phase #47576

Closed
elizabethwann opened this issue Oct 4, 2019 · 1 comment
Closed

Comments

@elizabethwann
Copy link

Filed on behalf of Colruyt Group:

Colruyt are using ES for a logging use case where some logs would have a long retention period for audit requirements, but would not need to be queried unless there is an audit. They would like to use snapshots to archive old data before deletion from the cluster. It would be useful to have a snapshot feature before the delete phase in ILM to take a snapshot of old index data to store as an archive before it is deleted from the cluster.

Related: #45067

@dakrone
Copy link
Member

dakrone commented Oct 4, 2019

This is a duplicate of #45067. We're unlikely to actually force a snapshot of an index from ILM, because snapshots span multiple indices and ILM policies are per-index. If we allowed ILM policies to spawn their own snapshots, a cluster with 1000 indices would end up creating 1000 snapshots. Rather, an ILM step should wait until the delete phase has started, then wait for a snapshot to be taken naturally (via SLM) prior to the delete.

Closing this for now since it's a duplicate, we can re-open if more discussion is needed (or discuss on #45067)

@dakrone dakrone closed this as completed Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants