Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13022

CompactionTask should factor in the disk space that may be used by other compactions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • Local/Compaction
    • None
    • Normal

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rustyrazorblade Jon Haddad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: