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

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

Przemyslaw Maciolek created KUDU-1437:
-----------------------------------------

             Summary: 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: tserver
    Affects Versions: 0.8.0, 0.7.0, 0.6.0
            Reporter: Przemyslaw Maciolek


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)