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

Bryan Tower updated CASSANDRA-1753:
-----------------------------------

    Priority: Major  (was: Minor)

This bug prevents anyone importing to SSTables from JSON format.  All of the 
data that was exported shows up as tombstoned when trying to do an import on 
the 0.7 branch.  This patch is simple and is isolated to the SSTableImport

> SSTableImport adds columns marked for delete incorrectly in methods 
> addToStandardCF & addToSuperCF
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1753
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1753
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7 beta 2
>            Reporter: Pushpinder Heer
>             Fix For: 0.7.0
>
>         Attachments: cassandra-0.7-1753.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The logic for adding column families in the methods addToStandardCF & 
> addToSuperCF appears to be backwards
>             if (col.isDeleted) {
>                 cfamily.addColumn(path, hexToBytes(col.value), new 
> TimestampClock(col.timestamp));
>             } else {
>                 cfamily.addTombstone(path, hexToBytes(col.value), new 
> TimestampClock(col.timestamp));
>             }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to