Skip to content

[8.0] Fix after restore Lucene.pruneUnreferencedFiles() conditional (#81047)#81050

Merged
elasticsearchmachine merged 3 commits intoelastic:8.0from
tlrx:backport/8.0/pr-81047
Nov 26, 2021
Merged

[8.0] Fix after restore Lucene.pruneUnreferencedFiles() conditional (#81047)#81050
elasticsearchmachine merged 3 commits intoelastic:8.0from
tlrx:backport/8.0/pr-81047

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Nov 25, 2021

Backports the following commits to 8.0:

…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
Copy Markdown
Member Author

tlrx commented Nov 25, 2021

@elasticmachine run elasticsearch-ci/2

@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Nov 25, 2021

@elasticmachine update branch

@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Nov 25, 2021

Waiting for #81054

@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Nov 26, 2021

@elasticmachine update branch

@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Nov 26, 2021

@elasticmachine run elasticsearch-ci/rest-compatibility

@elasticsearchmachine elasticsearchmachine merged commit 6aa32dd into elastic:8.0 Nov 26, 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 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants