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)

Reply via email to