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

Remove localTimestamp from merkle-tree calculation (for tombstones)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.6
    • Component/s: None
    • Labels:
      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

              • Assignee:
                christianmovi Christian Spriegel
                Reporter:
                christianmovi Christian Spriegel
                Authors:
                Christian Spriegel
                Reviewers:
                Yuki Morishita
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: