Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1753

SSTableImport adds columns marked for delete incorrectly in methods addToStandardCF & addToSuperCF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7.0 rc 1
    • Legacy/Tools
    • None
    • Normal

    Description

      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)); }

      Attachments

        1. cassandra-0.7-1753.txt
          3 kB
          Bryan Tower

        Activity

          People

            bryantower Bryan Tower
            pushpinder.heer Pushpinder Heer
            Bryan Tower
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified