You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2020/08/20 21:38:00 UTC

[jira] [Created] (CASSANDRA-16064) Add test which validates that Message serializedSize(version) == serialize(out, version).length

David Capwell created CASSANDRA-16064:
-----------------------------------------

             Summary: Add test which validates that Message serializedSize(version) == serialize(out, version).length
                 Key: CASSANDRA-16064
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16064
             Project: Cassandra
          Issue Type: Bug
          Components: Messaging/Internode
            Reporter: David Capwell
            Assignee: David Capwell


In 4.0 we require serializedSize(version) == serialize(out, version).length for correctness in post40 message format as we write it into the message header.  Given that this is a strong requirement for correct deserialization of the message, we should have tests which help enforce this property.



--
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