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

Alex Parvulescu commented on OAK-2449:
--------------------------------------

good catch!

I would not use _CompactionStrategy.CLEANUP_DEFAULT_, instead offline 
compaction should be as aggressive as possible, so I would put 
_CleanupType.CLEAN_ALL_ [~mduerig] thoughts?

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

Reply via email to