You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2016/05/04 23:39:12 UTC

[jira] [Resolved] (KUDU-1437) Negative values corruption for RLE-encoded INT32 columns

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

Todd Lipcon resolved KUDU-1437.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.0

> Negative values corruption for RLE-encoded INT32 columns
> --------------------------------------------------------
>
>                 Key: KUDU-1437
>                 URL: https://issues.apache.org/jira/browse/KUDU-1437
>             Project: Kudu
>          Issue Type: Bug
>          Components: cfile
>    Affects Versions: 0.6.0, 0.7.0, 0.8.0
>            Reporter: Przemyslaw Maciolek
>            Assignee: Todd Lipcon
>            Priority: Blocker
>             Fix For: 0.9.0
>
>
> Putting a sequence of negative values to INT32 RLE-encoded column corrupts the data after compaction.
> The exact recipe to reproduce it is following:
> 1) Put a sequence of negative values in descending order to an INT32 RLE-encoded column (it's a primary key in my case, but maybe regular columns are affected as well)
> 2) Wait for compaction
> 3) See you data converted to -1's
> A Gist showing an example of data corruption is available here: https://gist.github.com/pmaciolek/dfc6a95ff85145d23774cb5d1a9f5a4f (based on {{sample.cc}} provided with Kudu sources, note that {{-std=c++11}} might need to be added to the compiler flags)



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