[ 
https://issues.apache.org/jira/browse/CASSANDRA-2818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams updated CASSANDRA-2818:
----------------------------------------

    Attachment: 2818-v3.txt

v2 has two problems:

* It shuts the connection down slightly too aggressively, causing an exception 
on the remote side before setVersion gets called.

* It stores the remote's version even when it is greater, causing the lower 
version node to always report itself as the newer version to the newer node.

v3 address the first problem by sleeping for a half second before closing, and 
addresses the second by only calling setVersion if the remote side is 
compatible, otherwise it calls addSavedEndpoint before disconnecting so that it 
will reconnect.

> 0.8.0 is unable to participate with nodes using a _newer_ protocol version
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2818
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2818
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Michael Allen
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.8.2
>
>         Attachments: 2818-disconnect.txt, 2818-v2.txt, 2818-v3.txt, 2818.txt
>
>
> When a 0.8.1 node tries to join a 0.8.0 ring, we see an endless supply of 
> these in system.log:
> INFO [Thread-4] 2011-06-23 21:14:04,149 IncomingTcpConnection.java (line 103) 
> Received connection from newer protocol version. Ignorning message.
> and the node never joins the ring.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to