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

Modify reconcile logic to always pick a tombstone over a counter cell

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 2.1 rc2
    • Component/s: None
    • Labels:
      None

      Description

      For counters, timestamps are automatically computed to be milliseconds since the epoch. For everything else, when not specified manually, they are microseconds since the epoch. This means if you delete a counter row, subsequent updates are lost unexpectedly.

      I know that deleting counters is not recommended, but that's only because deletes and incs don't commute. If you know you have stopped incs, then delete, then start again (with some external synchronization) then deleting is fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iamaleksey Aleksey Yeschenko
                Reporter:
                rlow Richard Low
                Reviewer:
                Sylvain Lebresne
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: