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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 0.7.0 rc 1
    • Component/s: Legacy/Tools
    • Labels:
      None
    • Severity:
      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

            • Assignee:
              bryantower Bryan Tower
              Reporter:
              pushpinder.heer Pushpinder Heer
              Authors:
              Bryan Tower
              Reviewers:
              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