Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Correctness - API / Semantic Implementation
-
Normal
-
Normal
-
Code Inspection
-
All
-
Clients
-
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.