You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2015/07/22 18:35:05 UTC

[jira] [Created] (CASSANDRA-9865) Broken vint encoding, at least when interacting with OHCProvider

Sylvain Lebresne created CASSANDRA-9865:
-------------------------------------------

             Summary: Broken vint encoding, at least when interacting with OHCProvider
                 Key: CASSANDRA-9865
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9865
             Project: Cassandra
          Issue Type: Bug
            Reporter: Sylvain Lebresne
             Fix For: 3.0 beta 1


I haven't investigated this very closely so I only have a slightly hacky way to show the problem, but if you apply the patch attached, you'll see that the vints serialized and the one deserialized are not the same ones. If you remove the use of vints (as is currently on trunk, but only due to this issue because we do want to use vints), everything works correctly.

I'm honestly not sure where the problem is, but it sounds like it could be either in {{NIODataInputStream}} or in the {{OHCProvider}} since it's used on that test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)