jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-2449) offline compaction (via oak-run) broken
Date Mon, 02 Feb 2015 12:39:35 GMT

    [ https://issues.apache.org/jira/browse/OAK-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301214#comment-14301214

Michael Dürig commented on OAK-2449:

Looks good to me.

> offline compaction (via oak-run) broken
> ---------------------------------------
>                 Key: OAK-2449
>                 URL: https://issues.apache.org/jira/browse/OAK-2449
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: run
>    Affects Versions: 1.1.5
>            Reporter: Stefan Egli
>         Attachments: OAK-2449.patch, compaction.patch
> This is a likely regression introduced with OAK-2192: when doing offline compaction via
oak-run with a current oak trunk, the compaction never finishes - instead it creates tar file
after tar file - basically filling up the disk if you dont stop it.
> It looks like oak-run's Main.compact() does not set the newly (in OAK-2192) added compactionStrategy
- instead, compactionStrategy is set to NO_COMPACTION - which returns false when being asked
if compaction is finished (compacted()) - which is why it just loops - and in each loop add
a bit to the store.

This message was sent by Atlassian JIRA

View raw message