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

DoS by StreamReceiveTask, during incremental repair

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • Consistency/Repair
    • None
    • Normal

    Description

      There's no limit on how many StreamReceiveTask there can be, and during an incremental repair on a vnode cluster with high replication factors, this can lead to thousands of conccurent StreamReceiveTask threads, effectively DoSing the node.

      I just found one of my nodes with 1000+ loadavg, caused by 1363 concurrent StreamReceiveTask threads.

      That sucks

      I think :

      • Cassandra shouldn't allow more than X concurrent StreamReceiveTask threads
      • StreamReceiveTask threads should be at a lower priority, like compaction threads

      Alternative ideas welcome as well, of course.

      Attachments

        1. untitled 2.txt
          4.44 MB
          Tom van der Woerdt

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tvdw Tom van der Woerdt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: