You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2018/03/07 18:55:00 UTC

[jira] [Created] (CASSANDRA-14296) Remove parameter length prefix from intra-cluster protocol

Ariel Weisberg created CASSANDRA-14296:
------------------------------------------

             Summary: Remove parameter length prefix from intra-cluster protocol
                 Key: CASSANDRA-14296
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14296
             Project: Cassandra
          Issue Type: Improvement
          Components: Streaming and Messaging
            Reporter: Ariel Weisberg
            Assignee: Ariel Weisberg
             Fix For: 4.0


We don't seem to need this prefix. Saves 4 bytes per parameter and quite a bit of garbage per parameter. This also incidentally fixes an eclipse static analysis warning. If the length needs to be known then individual parameters can add the prefix themselves for whatever they want to serialize.

Obviously pre-4.0 nodes will continue to use it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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