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

Race condition silently kills thrift server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.17, 2.0.7, 2.1 beta2
    • None
    • None
    • Normal

    Description

      There's a race condition in CustomTThreadPoolServer that can cause the thrift server to silently stop listening for connections.

      It happens when the executor service throws a RejectedExecutionException, which is not caught.

      Silent in the sense that OpsCenter doesn't notice any problem since JMX is still running fine.

      Attachments

        1. race_patch.diff
          1 kB
          Christian Rolf
        2. 6788-v2.txt
          2 kB
          Jonathan Ellis
        3. 6788-v3.txt
          3 kB
          Christian Rolf
        4. 6793-v3-rebased.txt
          3 kB
          Jonathan Ellis

        Activity

          People

            ccrolf Christian Rolf
            ccrolf Christian Rolf
            Christian Rolf
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: