Skip to content

Prevent deletion of snapshots that are used by snapshot backed indices #73821

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

Closed

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Jun 7, 2021

This pull request adds a check to prevent the deletion of snapshots that are used by searchable snapshots indices mounted in the same cluster.

This is work in progress since it conflicts with how ILM deletes snapshots of mounted indices.

@tlrx tlrx added >enhancement :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v7.14.0 labels Jun 7, 2021
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jun 7, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@joegallo
Copy link
Contributor

I've seen two users with this problem in the last couple of weeks, so when a little birdy pointed me at this PR I'd thought I'd see if I could get things running again.

I resolved the conflicts here from #74451 and #74977. There's a new test from #77686 that this is now failing against, I didn't touch that. I also didn't touch the version: constants in the yml tests, but I imagine they'll have to change, too.

Of course, I realize I'm taking liberties, and I wouldn't be offended at all if you force pushed my commits right back off. 😄

@original-brownbear
Copy link
Member

@tlrx I think this is still something we want right?

@tlrx
Copy link
Member Author

tlrx commented Aug 3, 2022

Yes, this is supersedes by #79156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >tech debt v8.5.0 WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants