Skip to content

Conversation

@martijnvg
Copy link
Member

Backporting #132586 to 8.19 branch.

Be more strict about not finding a metadata entry based on field info number. If this were to happen, then this can cause issues in doc value consumer later. An example of such a failure is what is fixed via #132597, here with shrinking the local segment and merged field numbers were not aligned causing serious merge errors in the tsdb doc value consumer. Currently such an issue shouldn't occur anymore.

Be more strict about not finding a metadata entry based on field info number.
If this were to happen, then this can cause issues in doc value consumer later.
An example of such a failure is what is fixed via elastic#132597, here with shrinking
the local segment and merged field numbers were not aligned causing serious
merge errors in the tsdb doc value consumer. Currently such an issue shouldn't
occur anymore.
@martijnvg martijnvg added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :StorageEngine/Codec v8.19.3 labels Aug 14, 2025
@martijnvg martijnvg changed the title DocValuesConsumerUtil tweak [8.19] DocValuesConsumerUtil tweak Aug 14, 2025
@elasticsearchmachine elasticsearchmachine merged commit 5af250c into elastic:8.19 Aug 18, 2025
23 checks passed
@martijnvg martijnvg deleted the backport_132586_to_8.19 branch August 18, 2025 07:10
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 :StorageEngine/Codec v8.19.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants