Skip to content

Conversation

@s1monw
Copy link
Contributor

@s1monw s1monw commented Sep 17, 2018

We can't rely on the leaf reader ordinal in a wrapped reader since
it might not correspond to the ordinal in the SegmentInfos for it's
SegmentCommitInfo.

Relates to #32844
Closes #33689
Closes #33755

We can't rely on the leaf reader ordinal in a wrapped reader since
it might not correspond to the ordinal in the SegmentInfos for it's
SegmentCommitInfo.

Relates to elastic#32844
Closes elastic#33689
@s1monw s1monw added >bug :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.0.0 v6.5.0 labels Sep 17, 2018
@s1monw s1monw requested a review from bleskes September 17, 2018 11:06
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Contributor

@bleskes bleskes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, after @s1monw explained what's going on :)

@s1monw s1monw merged commit 48a5b45 into elastic:master Sep 17, 2018
s1monw added a commit that referenced this pull request Sep 18, 2018
s1monw added a commit that referenced this pull request Sep 18, 2018
We can't rely on the leaf reader ordinal in a wrapped reader since
it might not correspond to the ordinal in the SegmentInfos for it's
SegmentCommitInfo.

Relates to #32844
Closes #33689
Closes #33755
s1monw added a commit to s1monw/elasticsearch that referenced this pull request Sep 19, 2018
The fix in elastic#33757 introduces some workaround since FilterCodecReader didn't
support unwrapping. This cuts over to a more elegant fix to access the readers
segment infos.
s1monw added a commit that referenced this pull request Sep 19, 2018
The fix in #33757 introduces some workaround since FilterCodecReader didn't
support unwrapping. This cuts over to a more elegant fix to access the readers
segment infos.
s1monw added a commit that referenced this pull request Sep 19, 2018
The fix in #33757 introduces some workaround since FilterCodecReader didn't
support unwrapping. This cuts over to a more elegant fix to access the readers
segment infos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v6.5.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants