Skip to content

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Aug 9, 2025

Backports the following commits to 9.1:

Merging shrink TSDB or LogsDB indices can fail in versions 8.19 or 9.1+.
When shrinking an index to a single shard, we use addIndexes, which can
add Lucene segments directly. In this case, FieldInfos can differ
between shards and the new segment. We should use the FieldInfos from
each segment to retrieve the merge stats, instead of the FieldInfos of
the merged segment.

Relates elastic#125403
@dnhatn dnhatn added :StorageEngine/Codec >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:StorageEngine labels Aug 9, 2025
@elasticsearchmachine elasticsearchmachine merged commit d21840c into elastic:9.1 Aug 9, 2025
34 checks passed
@dnhatn dnhatn deleted the backport/9.1/pr-132597 branch August 9, 2025 02:07
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 :StorageEngine/Codec Team:StorageEngine v9.1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants