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

[8.x] Avoid creating IndexSearcher in Engine.refreshNeeded (#123218) #123257

Merged

Conversation

original-brownbear
Copy link
Member

Backports the following commits to 8.x:

Checking whether we need to refresh does not require a searcher
so we can simplify this to just work based on the reader
and avoid lots of contention etc. for setting up the searcher.

relates elastic#122374
@original-brownbear original-brownbear added :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Distributed Indexing Meta label for Distributed Indexing team labels Feb 24, 2025
@elasticsearchmachine elasticsearchmachine merged commit 97627e8 into elastic:8.x Feb 24, 2025
15 checks passed
@original-brownbear original-brownbear deleted the backport/8.x/pr-123218 branch February 24, 2025 12:08
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 :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >non-issue Team:Distributed Indexing Meta label for Distributed Indexing team v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants