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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.10, 2.1 rc6
    • None
    • None
    • Low

    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-2.0.txt
          6 kB
          Jeremiah Jordan
        2. 7750-2.1.txt
          5 kB
          Jeremiah Jordan
        3. 7750-trunk-fix-tests.txt
          5 kB
          Jeremiah Jordan

        Issue Links

          Activity

            People

              jjordan Jeremiah Jordan
              jjordan Jeremiah Jordan
              Jeremiah Jordan
              T Jake Luciani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: