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

Node restart during joining sets protocol version to V3

    XMLWordPrintableJSON

Details

    Description

      While joining nodes to a cluster, an old node crashed. The old node was recovered however clients (datastax java) refused to connect to it.

      The driver error:

      Detected added or restarted Cassandra host /<ip>:<port> but ignoring it since it does not support the version V4 of the native protocol which is currently in use.

      In the recovered node cassandra logs:

      INFO  o.a.c.transport.ConfiguredLimit Detected peers which do not fully support protocol V4. Capping max negotiable version to V3

      I confirmed that ALL the nodes in the cluster, joining or otherwise, were apache-cassandra-3.11.6 so that error message was rather confusing.

      Eventually after digging through the code we got to the bottom of the issue:

      https://issues.apache.org/jira/browse/CASSANDRA-15193 adds a check for node version, which reverts the protocol version to V3 if any peer fails the version check. Joining nodes have NULL for their version in the peers table, which fails the version check.

       

      Attachments

        Activity

          People

            stefan.miklosovic Stefan Miklosovic
            JosephClay Joseph Clay
            Stefan Miklosovic
            Brandon Williams, Sam Tunnicliffe
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m