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 5C3F5D122 for ; Wed, 21 Nov 2012 12:36:00 +0000 (UTC) Received: (qmail 29082 invoked by uid 500); 21 Nov 2012 12:36:00 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 28896 invoked by uid 500); 21 Nov 2012 12:35:59 -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 28852 invoked by uid 99); 21 Nov 2012 12:35:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 12:35:58 +0000 Date: Wed, 21 Nov 2012 12:35:58 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <268348798.11969.1353501358453.JavaMail.jiratomcat@arcas> In-Reply-To: <1617293820.69288.1347457747829.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4655) Truncate operation doesn't delete rows from HintsColumnFamily. 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-4655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4655: -------------------------------------- Assignee: (was: Alexey Zotov) > Truncate operation doesn't delete rows from HintsColumnFamily. > -------------------------------------------------------------- > > Key: CASSANDRA-4655 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4655 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.7.0 > Environment: Centos 6.2, Cassandra 1.1.4 (DataStax distribution), three-nodes cluster. > Reporter: Alexey Zotov > Priority: Minor > Labels: hintedhandoff, truncate > Fix For: 1.2.1 > > Attachments: cassandra-1.2-4655-hints_truncation.txt > > > Steps to reproduce: > 1. Start writing of data to some column family, let name it 'MyCF' > 2. Stop 1 node > 3. Wait some time (until some data will be collected in HintsColumnFamily) > 4. Start node (HintedHandoff will be started automatically for 'MyCF') > 5. Run 'truncate' command for 'MyCF' column family from command from cli > 6. Wait until truncate will be finished > 7. You will see that 'MyCF' is not empty because HintedHandoff is copying data > So, I suggest to clean HintsColumnFamily (for truncated column family) before we had started to discard sstables. > I think it should be done in CompactionManager#submitTrucate() method. I can try to create patch but I need to know right way of cleaning HintsColumnFamily. Could you clarify it? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira