You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (Jira)" <ji...@apache.org> on 2021/01/05 14:32:00 UTC

[jira] [Updated] (CASSANDRA-16374) Restore check for consistent native protocol versions for connection

     [ https://issues.apache.org/jira/browse/CASSANDRA-16374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sam Tunnicliffe updated CASSANDRA-16374:
----------------------------------------
     Bug Category: Parent values: Correctness(12982)Level 1 values: API / Semantic Implementation(12988)
       Complexity: Normal
    Discovered By: Code Inspection
    Fix Version/s: 4.0-rc
         Severity: Normal
           Status: Open  (was: Triage Needed)

> Restore check for consistent native protocol versions for connection
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-16374
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16374
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Messaging/Client
>            Reporter: Sam Tunnicliffe
>            Priority: Normal
>             Fix For: 4.0-rc
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org