Skip to content

Remove needless contention in ContextIndexSearcher.timeoutOverwrites #123609

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

original-brownbear
Copy link
Member

This doesn't have to be an instance variable nor does it need any concurrency, it's per definition a thread-local variable so let's make it one.

This doesn't have to be an instance variable nor does it need any
concurrency, it's per definition a thread-local variable so lets make it
one.
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Feb 27, 2025
Copy link
Contributor

@iverase iverase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@original-brownbear original-brownbear added the auto-backport Automatically create backport pull requests when merged label Feb 27, 2025
@original-brownbear
Copy link
Member Author

Thanks Ignacio!

@original-brownbear original-brownbear merged commit 2113a3c into elastic:main Feb 27, 2025
16 of 17 checks passed
@original-brownbear original-brownbear deleted the fix-contention branch February 27, 2025 16:50
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Feb 27, 2025
…lastic#123609)

This doesn't have to be an instance variable nor does it need any
concurrency, it's per definition a thread-local variable so lets make it
one.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

elasticsearchmachine pushed a commit that referenced this pull request Feb 27, 2025
…123609) (#123626)

This doesn't have to be an instance variable nor does it need any
concurrency, it's per definition a thread-local variable so lets make it
one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants