Stefan Egli created OAK-2449:
--------------------------------

             Summary: 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


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)

Reply via email to