[
https://issues.apache.org/jira/browse/OAK-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092543#comment-14092543
]
Jukka Zitting commented on OAK-2019:
------------------------------------
The garbage identified by this patch can be reclaimed by a normal cleanup even
without compaction, so as such the check isn't too useful (you could just run
cleanup instead).
> 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)