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

Restore check for consistent native protocol versions for connection

    XMLWordPrintableJSON

Details

    Description

      In protocol v4 and earlier, the frame header is checked during deserialization to ensure that the version matches the one negotiated for the connection.
      The original intention was to remove this version id from the frame (renamed to envelope in v5) header. However, there is value in keeping this check as well as the the one for the beta flag, so it remains in the frame/envelope format. The validation itself however, was removed by some refactoring as part of CASSANDRA-15299 and should be added back for all protocol versions before finalizing v5 and cutting a release candidate. The text detailing its removal also remains in the proposed spec update attached to CASSANDRA-14688, which also needs to be updated.

      Attachments

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Michael Semb Wever
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: