[
https://issues.apache.org/jira/browse/CASSANDRA-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276230#comment-13276230
]
Vijay commented on CASSANDRA-4139:
----------------------------------
Hi Jonathan,
The problem is the backward compatibility part of it...
We do out.writeInt(header) which is used IncomingTcpConnection (header =
input.readInt()) for the older versions the header will be corrupted...
the other option is to write constant 4 bytes just for the header, If it sounds
reasonable i can rewrite it?
> Add varint encoding to Messaging service
> ----------------------------------------
>
> Key: CASSANDRA-4139
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4139
> Project: Cassandra
> Issue Type: Sub-task
> Components: Core
> Reporter: Vijay
> Assignee: Vijay
> Fix For: 1.2
>
> Attachments: 0001-CASSANDRA-4139-v1.patch,
> 0001-CASSANDRA-4139-v2.patch, 0001-CASSANDRA-4139-v3.patch,
> 0002-add-bytes-written-metric.patch, 4139-Test.rtf
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira