You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Jordan (JIRA)" <ji...@apache.org> on 2014/08/12 06:21:11 UTC
[jira] [Updated] (CASSANDRA-7750) Do not flush on truncate if
"durable_writes" is false.
[ https://issues.apache.org/jira/browse/CASSANDRA-7750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremiah Jordan updated CASSANDRA-7750:
---------------------------------------
Attachment: 7750-2.1.txt
7750-2.0.txt
Patches for 2.0 and 2.1 to put back the "just throw the memtables away" code if durable writes is false and auto snapshot is false.
> Do not flush on truncate if "durable_writes" is false.
> ------------------------------------------------------
>
> Key: CASSANDRA-7750
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7750
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Jeremiah Jordan
> Assignee: Jeremiah Jordan
> Priority: Minor
> Fix For: 2.0.10, 2.1.1
>
> Attachments: 7750-2.0.txt, 7750-2.1.txt
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)