Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 0.8.2
    • Component/s: Core
    • Labels:
      None

      Description

      The scenario goes something like this: you upgrade from 0.7 to 0.8, but all the nodes remember that the remote side is 0.7, so they in turn speak 0.7, causing the local node to also think the remote is 0.7, even though both are really 0.8.

      1. 2860.txt
        0.6 kB
        Jonathan Ellis
      2. 2860-v2.txt
        1 kB
        Jonathan Ellis

        Issue Links

          Activity

          Hide
          Jonathan Ellis added a comment -

          patch to reset protocol-version-to-attempt when MessagingService resets a connection pool (when FD notices it's down)

          Show
          Jonathan Ellis added a comment - patch to reset protocol-version-to-attempt when MessagingService resets a connection pool (when FD notices it's down)
          Hide
          Jonathan Ellis added a comment -

          v2 moves reset call into OTC.disconnect, so it will work even if the restart time is too small for FD to kick in

          Show
          Jonathan Ellis added a comment - v2 moves reset call into OTC.disconnect, so it will work even if the restart time is too small for FD to kick in
          Hide
          Brandon Williams added a comment -

          +1

          Show
          Brandon Williams added a comment - +1
          Hide
          Hudson added a comment -

          Integrated in Cassandra-0.8 #218 (See https://builds.apache.org/job/Cassandra-0.8/218/)
          reset protocol-version-to-attempt when reconnecting to a node
          patch by jbellis; reviewed by brandonwilliams for CASSANDRA-2860

          jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147355
          Files :

          • /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/net/OutboundTcpConnection.java
          • /cassandra/branches/cassandra-0.8/CHANGES.txt
          • /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/gms/Gossiper.java
          Show
          Hudson added a comment - Integrated in Cassandra-0.8 #218 (See https://builds.apache.org/job/Cassandra-0.8/218/ ) reset protocol-version-to-attempt when reconnecting to a node patch by jbellis; reviewed by brandonwilliams for CASSANDRA-2860 jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147355 Files : /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/net/OutboundTcpConnection.java /cassandra/branches/cassandra-0.8/CHANGES.txt /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/gms/Gossiper.java

            People

            • Assignee:
              Jonathan Ellis
              Reporter:
              Brandon Williams
              Reviewer:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development