Skip to content

[9.0] Load FieldInfos from store if not yet initialised through a refresh on IndexShard (#125650) #125703

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

Conversation

original-brownbear
Copy link
Contributor

Backports the following commits to 9.0:

…n IndexShard (elastic#125650)

Load field caps from store if they haven't been initialised through a refresh yet.
Keep the plain reads to not mess with performance characteristics too much on the good path but protect against confusing races when loading field infos now (that probably should have been ordered stores in the first place but this was safe due to other locks/volatiles on the refresh path).

Closes elastic#125483
@original-brownbear original-brownbear added :Search Foundations/Search Catch all for Search Foundations >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels Mar 26, 2025
@elasticsearchmachine elasticsearchmachine merged commit 63be3d2 into elastic:9.0 Mar 26, 2025
16 checks passed
@original-brownbear original-brownbear deleted the backport/9.0/pr-125650 branch March 26, 2025 19:02
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 >bug :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants