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

Abort repairs whose streaming jobs will push disk usage over a configurable threshold

    XMLWordPrintableJSON

    Details

    • Change Category:
      Operability
    • Complexity:
      Normal
    • Platform:
      All
    • Impacts:
      None

      Description

      When nodes are out of sync, it is possible to get into a situation where streaming from repairs sends us to 100% disk usage (from a starting point of 20% even, in matter of hours). Since we know the size of the data we're going to stream over, and how much disk space is left, we should just fail the streaming instead of causing flush issues on memtables/commitlog/etc. as we approach that point.

      Perhaps it would make sense to have a configurable threshold of say 90% disk usage over which we won't accept more streams.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maedhroz Caleb Rackliffe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: