cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9865) Broken vint encoding, at least when interacting with OHCProvider
Date Thu, 23 Jul 2015 10:03:04 GMT

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

Benedict commented on CASSANDRA-9865:
-------------------------------------

There's a reasonable chance this is caused by the issue [~aweisberg] and I discussed yesterday
on CASSANDRA-9863. So perhaps hold off further investigation until that's fixed.

> 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
>
>         Attachments: 9865-hacky-test.txt
>
>
> 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)

Mime
View raw message