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

Internode messaging handshake sends wrong messaging version number

    XMLWordPrintableJSON

    Details

    • Severity:
      Critical

      Description

      With the refactor of internode messaging to netty in 4.0, we abstracted the protocol handshakes messages into a class and handlers. There is a bug when the initiator of the connection sends, in the third message of the handshake, it's own default protocol version number (MessagingService.current_version), rather than the negotiated version. This was not causing any obvious problems when CASSANDRA-8457 was initially committed, but the bug is exposed after CASSANDRA-7544. The problem is during rolling upgrades of 3.0/3.X to 4.0, nodes cannot correctly connect.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jasobrown Jason Brown
                Reporter:
                jasobrown Jason Brown
                Authors:
                Jason Brown
                Reviewers:
                Dinesh Joshi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: