Skip to content

Conversation

original-brownbear
Copy link
Contributor

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

back port of #125650

…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 merged commit 0296f7f into elastic:8.18 Mar 27, 2025
15 checks passed
@original-brownbear original-brownbear deleted the 125650-8.18 branch March 27, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants