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

ThriftServer.stop is not thread safe

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
    • Low
    • Resolution: Fixed
    • 2.2.8, 3.0.9, 3.8
    • None
    • None
    • Low

    Description

      There is a small thread safety issue in ThriftServer.stop(). If we have multiple calls to stop, one thread may NPE or otherwise do bad stuff.

      Attachments

        1. patch1.txt
          0.8 kB
          Brian Wawok
        2. patch2.txt
          0.5 kB
          Brian Wawok

        Activity

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

          People

            brian.wawok Brian Wawok Assign to me
            brian.wawok Brian Wawok
            Brian Wawok
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment