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 20:08:00 UTC

[jira] [Updated] (CASSANDRA-14296) Fix eclipse-warnings introduced by 7544 parameter handling

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

Ariel Weisberg updated CASSANDRA-14296:
---------------------------------------
    Summary: Fix eclipse-warnings introduced by 7544 parameter handling  (was: Remove parameter length prefix from intra-cluster protocol)

> Fix eclipse-warnings introduced by 7544 parameter handling
> ----------------------------------------------------------
>
>                 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
>            Priority: Major
>             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