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

Remove localTimestamp from merkle-tree calculation (for tombstones)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.6
    • None
    • None

    Description

      DeletedColumn and RangeTombstone use the local-timestamp to update the digest during repair.

      Even though its only a second-precision timestamp, I think it still causes some differences in the merkle tree, therefore causing overrepair.

      I attached a patch on trunk that adds a modified updateDigest() to DeletedColumn, which does not use the value field for its calculation.

      Attachments

        1. V1.patch
          2 kB
          Christian Spriegel

        Issue Links

          Activity

            People

              christianmovi Christian Spriegel
              christianmovi Christian Spriegel
              Christian Spriegel
              Yuki Morishita
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: