You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ray Chen (JIRA)" <ji...@apache.org> on 2014/06/17 10:02:02 UTC

[jira] [Created] (CASSANDRA-7406) Reset version when closing incoming socket in IncomingTcpConnection should be done atomically

Ray Chen created CASSANDRA-7406:
-----------------------------------

             Summary: Reset version when closing incoming socket in IncomingTcpConnection should be done atomically
                 Key: CASSANDRA-7406
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7406
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: CentOS release 5.5 (Tikanga)
            Reporter: Ray Chen


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).



--
This message was sent by Atlassian JIRA
(v6.2#6252)