XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 2
    • Component/s: None
    • Labels:
      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. 4667-handle-empty-flushes.txt
          5 kB
          Jonathan Ellis
        2. CASSANDRA-4667-v1.1.patch
          12 kB
          Aleksey Yeschenko
        3. CASSANDRA-4667-v2.patch
          17 kB
          Aleksey Yeschenko
        4. CASSANDRA-4667-v3.txt
          2 kB
          Aleksey Yeschenko
        5. CASSANDRA-4667-v4.txt
          8 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: