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

Race condition silently kills thrift server

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. 6793-v3-rebased.txt
          3 kB
          Jonathan Ellis
        3. 6788-v3.txt
          3 kB
          Christian Rolf
        4. 6788-v2.txt
          2 kB
          Jonathan Ellis

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment