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

Michael Marth commented on OAK-2879:
------------------------------------

[~mduerig], I wonder if a log message is enough. When the compacation runs 
frequently such a log message might not be noticed in time and thus users would 
run into the out of disc problem anyway. How about aborting compaction or 
requiring a manual "force" setting?

> Compaction should check for required disk space before running
> --------------------------------------------------------------
>
>                 Key: OAK-2879
>                 URL: https://issues.apache.org/jira/browse/OAK-2879
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: segmentmk
>            Reporter: Michael Dürig
>              Labels: compaction, gc, resilience
>             Fix For: 1.3.0
>
>
> In the worst case compaction doubles the repository size while running. As 
> this is somewhat unexpected we should check whether there is enough free disk 
> space before running compaction and log a warning otherwise. This is to avoid 
> a common source of running out of disk space and ending up with a corrupted 
> repository. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to