Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2045EC2C2 for ; Tue, 12 Aug 2014 04:21:12 +0000 (UTC) Received: (qmail 43370 invoked by uid 500); 12 Aug 2014 04:21:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 43344 invoked by uid 500); 12 Aug 2014 04:21:12 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 43331 invoked by uid 99); 12 Aug 2014 04:21:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 04:21:11 +0000 Date: Tue, 12 Aug 2014 04:21:11 +0000 (UTC) From: "Jeremiah Jordan (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7750) Do not flush on truncate if "durable_writes" is false. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)