XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.0 beta 2
    • None
    • None

    Description

      Batchlog writes with the same key are never retried. This means that if a batchlog row is in the memtable, it can't be in any of the sstables, ever. In such cases we don't need to write a tombstone to disk. We can purge the row completely from the memtable and only write a tombstone if the row had been flushed already (if it's not in the memtable then it must be in one of the sstables).

      Attachments

        1. CASSANDRA-4667-v1.1.patch
          12 kB
          Aleksey Yeschenko
        2. CASSANDRA-4667-v2.patch
          17 kB
          Aleksey Yeschenko
        3. CASSANDRA-4667-v3.txt
          2 kB
          Aleksey Yeschenko
        4. CASSANDRA-4667-v4.txt
          8 kB
          Aleksey Yeschenko
        5. 4667-handle-empty-flushes.txt
          5 kB
          Jonathan Ellis

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: