[ 
https://issues.apache.org/jira/browse/CASSANDRA-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923507#action_12923507
 ] 

T Jake Luciani commented on CASSANDRA-1367:
-------------------------------------------

Ok, I can fix these.  

ByteArrayToken is needed for MerkleTree serialization.  ByteBuffer isn't 
Serializable so I convert ByteToken to ByteArrayToken.

We have to use position() as arrayOffset() is almost always zero.  I'm 
following the logic here 
http://blog.rapleaf.com/dev/2010/10/19/striving-for-zero-copies-with-thrift-0.5/



> Upgrade to Thrift 0.5.0
> -----------------------
>
>                 Key: CASSANDRA-1367
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1367
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 1367_v5.patch, libthrift-0.5.jar
>
>
> There's finally a new thrift release out. This gives us a chance to 
> standardize on a release instead of just a revision of thrift trunk.
> http://www.apache.org/dist/incubator/thrift/0.4.0-incubating/thrift-0.4.0.tar.gz

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to