forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't verify adler32 for buggy legacy checksums.
Don't verify adler32 for lucene 3.x terms dictionary (.tis), terms index (.tii), 3.0-3.3 compound file (.cfs), 3.x segments_N, or 3.x segments.gen. These files are not write-once, but the 0.20.x checksum code didn't handle .tis/.tii properly, so we can't use the adler32. Even older versions will have the same problems with other cases. Closes elastic#9142 Conflicts: src/main/java/org/elasticsearch/index/store/Store.java src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityTests.java
- Loading branch information
Showing
2 changed files
with
167 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters