cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pushpinder Heer (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1753) SSTableImport adds columns marked for delete incorrectly in methods addToStandardCF & addToSuperCF
Date Wed, 17 Nov 2010 19:52:14 GMT
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
            Priority: Minor


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.


Mime
View raw message