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

[7.16] Fix after restore Lucene.pruneUnreferencedFiles() conditional (#81047) #81051

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Nov 25, 2021

Backports the following commits to 7.16:

…c#81047)

In elastic#68821 we introduced a condition to skip the pruning of 
unreferenced files after the restore of a snapshot for 
searchable snapshot shards. Sadly I managed to mess 
this up in a refactoring (elastic#75308) few months after.

This commit reintroduces the right conditional which is 
to NOT prune Lucene files for searchable snapshot shards.
@tlrx tlrx added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Nov 25, 2021
@tlrx
Copy link
Member Author

tlrx commented Nov 25, 2021

@elasticmachine test this please

@elasticsearchmachine elasticsearchmachine merged commit 2e750af into elastic:7.16 Nov 25, 2021
@danhermann danhermann added v7.16.0 and removed v7.16.1 labels Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants