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 09:28:00 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved OAK-6601.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8

Fixed at http://svn.apache.org/viewvc?rev=1806775&view=rev

> 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)