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

Add test which validates that Message serializedSize(version) == serialize(out, version).length

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcapwell David Capwell
                Reporter:
                dcapwell David Capwell
                Authors:
                David Capwell
                Reviewers:
                Caleb Rackliffe, Jon Meredith
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: