Skip to content
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

IndexUpgraderMergePolicy doesn't assign a field number to _version correctly #3237

Closed
jpountz opened this Issue Jun 25, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@jpountz
Copy link
Contributor

jpountz commented Jun 25, 2013

Martijn found a bug in IndexUpgraderMergePolicy which attributes fieldInfos.size() as a field number although this field number might already be taken in the current segment.

@ghost ghost assigned jpountz Jun 25, 2013

jpountz added a commit to jpountz/elasticsearch that referenced this issue Jun 25, 2013

Fix field number attribution to _version.
IndexUpgraderMergePolicy assumed that field numbers were dense and that
fieldInfos.size() was a free field number. This can however be wrong for a
segment which doesn't have one or more fields that some older segments have.

Close elastic#3237

@jpountz jpountz closed this in cb34ccc Jun 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.