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

Jonathan Ellis commented on CASSANDRA-1367:
-------------------------------------------

if thrift is creating multiple bytebuffers from the same byte[] with the same 
offset it is broken.  look at HeapByteBuffer.slice, the idea is the offset 
should be the start of the valid bytes in the buffer.  position is mutable by 
the relative get methods but offset is not.  or hell, look at BB 
equals/hashcode.

> 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