-
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
Add support for closed indices to ILM #39524
Comments
Pinging @elastic/es-core-features |
I think there are two areas of support here:
It seems that now the we have frozen indices the reasons one would want to close an index are diminishing. By offering close AND frozen as options are we asking the user to make a nuanced decision ? I suspect the most users would pick close since it seems obvious what it does, and thus we may steer people away from frozen and it's benifits. (Users can always close the index themselves, but does it make sense to do so automated ?)
Same argument as above, given that we have @eskibars - thoughts ? |
My personal opinion here is yes, for instance, I can imagine that it would be nice to freeze older indices while still having them be searchable, and then, close them the day before the indices are deleted. This would allow anyone consuming the data to notice the data was missing (say, in a Kibana dashboard), and then take steps to save the data prior to it being deleted for good. Definitely good to discuss it though. |
This is my concern as well.
I suspect it'd be a mix with users. For smaller orgs/projects, the consumers of the data may also be the cluster administrators (or very close to them anyway) and recognize data's gone missing before they hoped. In larger orgs/projects, you'd have to have pretty long times between the close and the delete for someone to notice, figure out why the data was gone or if it was a security configuration or someone changing index patterns in Kibana, and then doing the right thing to stop deletion (e.g. not just reopening the index, but also disabling the policy for the index). I suspect in most cases where there are larger projects, the cluster administrator would just want to ensure that a snapshot had occurred on the index before deletion. |
Closing this as we don't think there's enough interest in this. |
Now that closed indices are replicated (see: #39499 / #33888). We should add support
for these indices to ILM.
This means that in a policy, a user should be able to specify that an index be
closed, and then still be able to perform some subset of operations on the
index (allocation routing, likely?).
The closed index should be allowed to be deleted in the delete phase of ILM as
well.
The text was updated successfully, but these errors were encountered: