[
https://issues.apache.org/jira/browse/CASSANDRA-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923517#action_12923517
]
Jonathan Ellis commented on CASSANDRA-1367:
-------------------------------------------
bq. i think limit - offset is what capacity() gives you.
turns out this is wrong.
what we really want is capacity - offset. limit is some weird-ass inverse
mark. Buffer doc explains,
bq. 0 <= mark <= position <= limit <= capacity ... A read-only buffer does not
allow its content to be changed, but its mark, position, and limit values are
mutable.
> 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.