Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The SegmentWriteOperation.isOldGeneration() predicate includes some segments that are not "old". This leads to more deferred compaction operations than strictly necessary. The affected segments are those generated by tail compaction. Tail compaction created segments should only be included in the predicate once they are from another full compaction operation. Otherwise referencing such segments is fine as they will not be reclaimed in a cleanup following a tail compaction.