Skip to content

[8.x] Improve DocValuesConsumerUtil#compatibleWithOptimizedMerge(...) (#126894) #126976

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
Apr 17, 2025

Conversation

martijnvg
Copy link
Member

Backports the following commits to 8.x:

…tic#126894)

The compatibleWithOptimizedMerge() method doesn't the case when doc value fields don't exist in all segments. It is like that for smaller segments not all fields exist. The change addresses that by skipping such doc value producers instead of returning that a field can't be merged using the optimized method.
@martijnvg martijnvg added :StorageEngine/Codec >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:StorageEngine labels Apr 17, 2025
@elasticsearchmachine elasticsearchmachine merged commit dd79382 into elastic:8.x Apr 17, 2025
15 checks passed
@martijnvg martijnvg deleted the backport/8.x/pr-126894 branch April 17, 2025 08:32
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 >non-issue :StorageEngine/Codec Team:StorageEngine v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants