Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
table-store-0.3.0, table-store-0.2.2
Description
Current constructor of Levels class contains the following code:
this.level0 = new TreeSet<>(Comparator.comparing(DataFileMeta::maxSequenceNumber).reversed());
However when two or more jobs writing the same bucket, they may produce files containing the same sequence number. If two files have the same maxSequenceNumber, one of them will be mistakenly ignored by TreeSet.