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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1 rc2
    • None
    • 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

              aleksey Aleksey Yeschenko
              rlow Richard Low
              Aleksey Yeschenko
              Sylvain Lebresne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: