jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-2019) Compact only if needed
Date Thu, 21 Aug 2014 06:34:28 GMT

     [ https://issues.apache.org/jira/browse/OAK-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated OAK-2019:
-------------------------------

    Attachment: 0001-OAK-2019-Compact-only-if-needed.patch

The attached patch uses a rough estimate based on referenceable bulk segments to estimate
whether running online compaction makes sense. The patch sets the threshold at 10% of estimated
space savings.

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

Mime
View raw message