You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2017/08/31 07:01:00 UTC

[jira] [Created] (OAK-6601) SegmentWriteOperation.isOldGeneration() too eager

Michael Dürig created OAK-6601:
----------------------------------

             Summary: 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
             Fix For: 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)