-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Minor-Fixes Support 7x segments as archive in 8x / 9x #125666
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
Minor-Fixes Support 7x segments as archive in 8x / 9x #125666
Conversation
Hi @drempapis, I've created a changelog YAML for you. |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two minors, LGTM otherwise
// This code has been introduced to process IndexInput created with Lucene86Codec+. This is not necessary | ||
// in the read-only version for older formats. | ||
// The pre-8.6 code does not read the following fields that its standard Lucene counterpart does. After experimenting with the | ||
// code, we got to the assumption that these are the last fields being read, which are not needed in the metadata-only reader, and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace assumption with conclusion? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done ty!
// as some bytes are available to read. | ||
// | ||
// The extra reads have been introduced to process IndexInput created with Lucene86Codec+, where a new BKD format has been | ||
// introduced. It seems that we have stricter checks around the header and footer starting from the 86 formats hence we do need to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove "it seems"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
💚 Backport successful
|
Minor fixes to support 7x segments as archive in 8x / 9x
Minor fixes to support 7x segments as archive in 8x / 9x
Minor post-merge fixes of this work #119503 (review)