You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2015/02/02 11:14:34 UTC

[jira] [Updated] (OAK-2449) offline compaction (via oak-run) broken

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

Alex Parvulescu updated OAK-2449:
---------------------------------
    Attachment: OAK-2449.patch

attaching a slightly improved version of the patch. [~mduerig], [~egli] feedback?

> 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
(v6.3.4#6332)