Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B72D9C05 for ; Wed, 1 Feb 2012 00:58:45 +0000 (UTC) Received: (qmail 48793 invoked by uid 500); 1 Feb 2012 00:58:43 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 48596 invoked by uid 500); 1 Feb 2012 00:58:42 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 48588 invoked by uid 99); 1 Feb 2012 00:58:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 00:58:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 72.35.23.38 is neither permitted nor denied by domain of todd@conga.com) Received: from [72.35.23.38] (HELO smtp-out2.electric.net) (72.35.23.38) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 00:58:34 +0000 Received: from 1RsOWX-00074x-WB by anders.electric.net with emc1-ok (Exim 4.76) (envelope-from ) id 1RsOWb-00077A-T2 for user@cassandra.apache.org; Tue, 31 Jan 2012 16:58:13 -0800 Received: by emcmailer; Tue, 31 Jan 2012 16:58:12 -0800 Received: from [10.86.5.46] (helo=fuse246.electric.net) by anders.electric.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RsOWX-00074x-WB for user@cassandra.apache.org; Tue, 31 Jan 2012 16:58:09 -0800 Received: from mailanyone.net by fuse246.electric.net with esmtpsa (TLSv1:AES256-SHA:256) (MailAnyone extSMTP toddfast) id 1RsOWX-0007N0-0z for user@cassandra.apache.org; Tue, 31 Jan 2012 16:58:09 -0800 Message-ID: <4F288E1E.60508@conga.com> Date: Tue, 31 Jan 2012 16:58:06 -0800 From: Todd Fast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Delete doesn't remove row key? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Outbound-IP: 10.86.5.46 X-Env-From: todd@conga.com X-PolicySMART: 1225731 X-Virus-Status: Scanned by VirusSMART (c) X-Virus-Checked: Checked by ClamAV on apache.org I added a row with a single column to my 1.0.8 single-node cluster: RowKey: aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa => (column=test, value=hi, timestamp=...) I immediately deleted the row using both the CLI and CQL: del Foo[lexicaluuid('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa')]; delete from Foo using consistency all where KEY=aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa In either case, the column "test" is gone but the empty row key still remains, and the row count reflects the presence of this phantom row. I've tried nodetool compact/repair/flush/cleanup/scrub/etc. and nothing removes the row key. How do I get rid of it? BTW, I saw this little tidbit in the describe output: Row cache size / save period in seconds / keys to save : 0.0/0/all Does "all" here mean to keep the keys for empty rows? If so, how do I change that behavior? ColumnFamily: "Foo" "..." Key Validation Class: org.apache.cassandra.db.marshal.UUIDType Default column value validator: org.apache.cassandra.db.marshal.UTF8Type Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type Row cache size / save period in seconds / keys to save : 0.0/0/all Row Cache Provider: org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider Key cache size / save period in seconds: 200000.0/14400 GC grace seconds: 864000000 Compaction min/max thresholds: 4/32 Read repair chance: 0.1 Replicate on write: true Bloom Filter FP chance: default Built indexes: [] Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy Todd