[ https://issues.apache.org/jira/browse/OAK-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-6601. --------------------------------- Bulk close for 1.7.7 > SegmentWriteOperation.isOldGeneration() too eager > ------------------------------------------------- > > Key: OAK-6601 > URL: https://issues.apache.org/jira/browse/OAK-6601 > Project: Jackrabbit Oak > Issue Type: Bug > Components: segment-tar > Reporter: Michael Dürig > Assignee: Michael Dürig > Labels: compaction, gc > Fix For: 1.8, 1.7.7 > > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029)