Skip to content

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

Merged
elasticsearchmachine merged 1 commit intoelastic:9.0from
original-brownbear:backport/9.0/pr-125650
Mar 26, 2025
Merged

[9.0] Load FieldInfos from store if not yet initialised through a refresh on IndexShard (#125650)#125703
elasticsearchmachine merged 1 commit intoelastic:9.0from
original-brownbear:backport/9.0/pr-125650

Conversation

@original-brownbear
Copy link
Contributor

Backports the following commits to 9.0:

…n IndexShard (#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 #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

2 participants