cassandra-commits mailing list archives

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

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

Sylvain Lebresne commented on CASSANDRA-9865:
---------------------------------------------

I'll remark that patches that introduce more use of vints (CASSANDRA-9801 and CASSANDRA-9828)
seems to trigger more RowCache test failures (even though they're not breaking any other serialization
and are not touching the cache code specifically). So if there if there is something specific
to vints with {{OHCProvider}}, I'd definitively start there (ping [~snazy] and [~aweisberg]).

> 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