[ https://issues.apache.org/jira/browse/OAK-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092522#comment-14092522 ]
Konrad Windszus commented on OAK-2019: -------------------------------------- So if compaction creates a new Tar containing only non-garbage that leaves the old Tar in a state, where nothing is referenced in it. So IMHO cleanup should be able to remove that old Tar completely (because at that state it only contains garbage). Why is that not the case? > 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)