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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to