Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE0F4200B57 for ; Fri, 22 Jul 2016 19:13:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ACD9B160A6D; Fri, 22 Jul 2016 17:13:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 09445160A8E for ; Fri, 22 Jul 2016 19:13:22 +0200 (CEST) Received: (qmail 49478 invoked by uid 500); 22 Jul 2016 17:13:22 -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 49161 invoked by uid 99); 22 Jul 2016 17:13:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2016 17:13:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AF3472C0D62 for ; Fri, 22 Jul 2016 17:13:21 +0000 (UTC) Date: Fri, 22 Jul 2016 17:13:21 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9652) Nodetool cleanup does not work for nodes taken out of replication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Jul 2016 17:13:23 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-9652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-9652: -------------------------------------- Fix Version/s: (was: 2.1.x) 3.x > Nodetool cleanup does not work for nodes taken out of replication > ----------------------------------------------------------------- > > Key: CASSANDRA-9652 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9652 > Project: Cassandra > Issue Type: Bug > Reporter: Erick Ramirez > Fix For: 3.x > > > After taking a node (DC) out of replication, running a cleanup does not get rid of the data on the node. The SSTables remain on disk and no data is cleared out. > The following entry is recorded in {{system.log}}: > {noformat} > INFO [CompactionExecutor:8] 2015-06-25 12:33:01,417 CompactionManager.java (line 527) Cleanup cannot run before a node has joined the ring > {noformat} > *STEPS TO REPRODUCE* > # Build a (C* 2.0.10) cluster with multiple DCs. > # Run {{cassandra-stress -n1}} to create schema. > # Alter schema to replicate to all DCs. > {noformat} > cqlsh> ALTER KEYSPACE "Keyspace1" WITH replication = { 'class' : 'NetworkTopologyStrategy', 'DC1' : 2, 'DC2' : 2, 'DC3' : 1 } ; > {noformat} > # Run {{cassandra-stress -n100000}} to generate data. > # Alter schema to stop replication to {{DC3}}. > # On node in {{DC3}}, run {{nodetool cleanup}}. > *WORKAROUND* > # Stop Cassandra. > # Manually delete the SSTables on disk. > # Start Cassandra. -- This message was sent by Atlassian JIRA (v6.3.4#6332)