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

Do not flush on truncate if "durable_writes" is false.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.10, 2.1 rc6
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low
    • Since Version:

      Description

      CASSANDRA-7511 changed truncate so it will always flush to fix commit log issues. If durable_writes is false, then there will not be able data in the commit log for the table, so we can safely just drop the memtables and not flush.

        Attachments

        1. 7750-trunk-fix-tests.txt
          5 kB
          Jeremiah Jordan
        2. 7750-2.1.txt
          5 kB
          Jeremiah Jordan
        3. 7750-2.0.txt
          6 kB
          Jeremiah Jordan

          Issue Links

            Activity

              People

              • Assignee:
                jjordan Jeremiah Jordan
                Reporter:
                jjordan Jeremiah Jordan
                Authors:
                Jeremiah Jordan
                Reviewers:
                T Jake Luciani
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: