Jon Haddad created CASSANDRA-13022:
--------------------------------------

             Summary: CompactionTask should factor in the disk space that may 
be used by other compactions
                 Key: CASSANDRA-13022
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13022
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jon Haddad


It's possible for 2 compactions to be competing for an amount of disk space 
smaller than either one would take up by itself but enough so that the system 
runs out of disk.  

Cassandra should:

* factor in the estimated disk usage of current running compactions for each 
drive, and subtract that amount from the space available (do not overcommit)
* detect when several compactions will be competing for space and prioritize 
ones that can complete given the space available.




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

Reply via email to