-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Remote Store] Delete data from remote store (translog and segments) on index delete #3511
Comments
@gbbafna @sachinpkale Are we sure this is the right experience? With remote store users get the "durable by default" behavior and I don't know if it is intuitive that deleting the index also deletes the data from remote. If I understand correctly, if we implement the behavior in #7682, then the experience is as follows (assuming I have a remote-backed index named Use case 1: Permanently delete all data (local and remote) in
|
@andrross As part of #6483, we are introducing interoperability with snapshot. Snapshot interoperability will allow us to create a snapshot referencing data in the remote store. It is also introducing a concept of ref count. With this, a segment in remote store can only be deleted if it is not referenced by any snapshot. This will hold true for index deletion as well. |
@samuel-oci FYI, with this change, the data will be deleted from the remote repository upon index deletion. Snapshot interoperability is the mechanism for keeping the data in order to restore at a later point (or to a different cluster, etc). |
Describe the solution you'd like
When an index is deleted, corresponding translog and segment data should be deleted from remote translog and remote segment store.
The text was updated successfully, but these errors were encountered: