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

Race condition silently kills thrift server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 1.2.17, 2.0.7, 2.1 beta2
    • Component/s: None
    • Labels:
      None

      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. 6788-v2.txt
          2 kB
          Jonathan Ellis
        2. 6788-v3.txt
          3 kB
          Christian Rolf
        3. 6793-v3-rebased.txt
          3 kB
          Jonathan Ellis
        4. race_patch.diff
          1 kB
          Christian Rolf

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: