You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/11/23 21:21:11 UTC

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-9865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ariel Weisberg updated CASSANDRA-9865:
--------------------------------------
    Component/s: Streaming and Messaging
                 Local Write-Read Paths
                 Compaction

> 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
>          Components: Compaction, Local Write-Read Paths, Streaming and Messaging
>            Reporter: Sylvain Lebresne
>            Assignee: Ariel Weisberg
>             Fix For: 3.0 alpha 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)