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

Reset version when closing incoming socket in IncomingTcpConnection should be done atomically

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: Duplicate
    • None
    • None
    • None
    • CentOS release 5.5 (Tikanga)

    • Normal

    Description

      When closing incoming socket, the close() method will call MessagingService.resetVersion(), this behavior may clear version which is set by another thread.

      This could cause MessagingService.knowsVersion(endpoint) test results as false (expect true here).

      Attachments

        Issue Links

        Activity

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

          People

            aleksey Aleksey Yeschenko Assign to me
            oldsharp Ray Chen
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment