[ 
https://issues.apache.org/jira/browse/CASSANDRA-7750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094071#comment-14094071
 ] 

Benedict commented on CASSANDRA-7750:
-------------------------------------

I'd rather we did not reintroduce the 'renew memtable' method, as it is 
inherently dangerous. If we are to do so, it should have clear danger warnings 
around it, OR it should explicitly clear the CL of any records it contains.

> 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)

Reply via email to