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.13] Fix concurrency bug in AbstractStringScriptFieldAutomatonQuery (#106678) #106775

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

javanna
Copy link
Member

@javanna javanna commented Mar 26, 2024

Backports the following commits to 8.13:

…ic#106678)

Back when we introduced queries against runtime fields, Elasticsearch did not support
inter-segment concurrency yet. At the time, it was fine to assume that segments will be
searched sequentially. AbstractStringScriptFieldAutomatonQuery used to have a BytesRefBuilder
instance shared across the segments, which gets re-initialized when each segment starts its work.
This is no longer possible with inter-segment concurrency.

Closes elastic#105911
@javanna javanna added :Search/Search Search-related issues that do not fall into other categories >bug backport Team:Search Meta label for search team labels Mar 26, 2024
@javanna javanna merged commit 57b0de7 into elastic:8.13 Mar 26, 2024
14 checks passed
@javanna javanna deleted the backport/8.13/pr-106678 branch March 26, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.13.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants