jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-2019) Compact only if needed
Date Mon, 11 Aug 2014 08:46:12 GMT

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

Mime
View raw message