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 4FC4311FEE for ; Wed, 30 Jul 2014 16:56:45 +0000 (UTC) Received: (qmail 68235 invoked by uid 500); 30 Jul 2014 16:56:41 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 68160 invoked by uid 500); 30 Jul 2014 16:56:40 -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 68071 invoked by uid 99); 30 Jul 2014 16:56:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 16:56:40 +0000 Date: Wed, 30 Jul 2014 16:56:40 +0000 (UTC) From: "Jeremiah Jordan (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7511) Commit log grows infinitely after truncate 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-7511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079515#comment-14079515 ] Jeremiah Jordan commented on CASSANDRA-7511: -------------------------------------------- And the "just drop the memtables" is where the bug comes from? I like just removing the code causing the problem, rather than trying to do the fancy stuff keeping track of what we dropped and manually fixing segments. Seems simpler and less error prone to me. Flush, wait 1 millisecond, unlink all the sstables. > Commit log grows infinitely after truncate > ------------------------------------------ > > Key: CASSANDRA-7511 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7511 > Project: Cassandra > Issue Type: Bug > Environment: CentOS 6.5, Oracle Java 7u60, C* 2.0.6, 2.0.9, including earlier 1.0.* versions. > Reporter: Viktor Jevdokimov > Assignee: Benedict > Priority: Minor > Labels: commitlog > Fix For: 2.0.10 > > Attachments: 7511-2.0-v2.txt, 7511.txt > > > Commit log grows infinitely after CF truncate operation via cassandra-cli, regardless CF receives writes or not thereafter. > CF's could be non-CQL Standard and Super column type. Creation of snapshots after truncate is turned off. > Commit log may start grow promptly, may start grow later, on a few only or on all nodes at once. > Nothing special in the system log. No idea how to reproduce. > After rolling restart commit logs are cleared and back to normal. Just annoying to do rolling restart after each truncate. -- This message was sent by Atlassian JIRA (v6.2#6252)