[ 
https://issues.apache.org/jira/browse/OAK-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105426#comment-14105426
 ] 

Alex Parvulescu commented on OAK-2019:
--------------------------------------

applied Jukka's patch with some minor changes
 - added a 'pause' flag which is not wired yet into the osgi configs, set to 
true: compaction is skipped by default until we fix OAK-2045
 - added a bit of logs around the new compaction check sizes
 - cleanup will now run even if the compaction check is negative

thanks again Jukka!

> Compact only if needed
> ----------------------
>
>                 Key: OAK-2019
>                 URL: https://issues.apache.org/jira/browse/OAK-2019
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 1.1, 1.0.5
>
>         Attachments: 0001-OAK-2019-Compact-only-if-needed.patch, 
> compact-if-needed.patch
>
>
> Add a verification before the TarMK compaction runs to see if there's at 
> least one tar file that needs cleanup. Otherwise skip compaction entirely.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to