uschindler commented on a change in pull request #203: URL: https://github.com/apache/lucene/pull/203#discussion_r663210670
########## File path: lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90CompoundReader.java ########## @@ -130,7 +130,7 @@ public Lucene90CompoundReader(Directory directory, SegmentInfo si, IOContext con private Map<String, FileEntry> readMapping(IndexInput entriesStream) throws IOException { final int numEntries = entriesStream.readVInt(); - Map<String, FileEntry> mapping = new HashMap<>(numEntries); + Map<String, FileEntry> mapping = new LinkedHashMap<>(numEntries); Review comment: This change is needed because the order of files is important to calculate the CFS file size for checking of corrumpted / cut files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org