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

node-level disk quota

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • Legacy/Core, Local/Config
    • None

    Description

      Operators should be able to specify, via YAML, the amount of usable disk space on a node as a percentage of the total available or as an absolute value. If both are specified, the absolute value should take precedence. This allows operators to reserve space available to the database for background tasks – primarily compaction. When a node reaches its quota, gossip should be disabled to prevent it taking further writes (which would increase the amount of data stored), being involved in reads (which are likely to be more inconsistent over time), or participating in repair (which may increase the amount of space used on the machine). The node re-enables gossip when the amount of data it stores is below the quota.

      The proposed option differs from min_free_space_per_drive_in_mb, which reserves some amount of space on each drive that is not usable by the database.

      Attachments

        Activity

          People

            jwest Jordan West
            jwest Jordan West
            Jordan West
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: