[ https://issues.apache.org/jira/browse/OAK-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092569#comment-14092569 ]
Konrad Windszus commented on OAK-2019: -------------------------------------- Currently the only way to trigger compaction during running Oak (and also the cleanup afterwards I guess) is through the revisionGarbageCollection. Can you extend the information at http://jackrabbit.apache.org/oak/docs/nodestore/segmentmk.html#Segment_Compaction to explain the two different phases (compaction and cleanup)? > 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 > Attachments: 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)