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 A30D9DECE for ; Thu, 24 Jan 2013 00:03:15 +0000 (UTC) Received: (qmail 78440 invoked by uid 500); 24 Jan 2013 00:03:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 78400 invoked by uid 500); 24 Jan 2013 00:03:15 -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 78391 invoked by uid 99); 24 Jan 2013 00:03:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 00:03:15 +0000 Date: Thu, 24 Jan 2013 00:03:15 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5182) Deletable rows are sometimes not removed during compaction 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-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561257#comment-13561257 ] Jonathan Ellis commented on CASSANDRA-5182: ------------------------------------------- Do you want a performance issue, or do you only want to remove tombstones during major compaction? :) > Deletable rows are sometimes not removed during compaction > ---------------------------------------------------------- > > Key: CASSANDRA-5182 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5182 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.1.5 > Reporter: Binh Van Nguyen > Assignee: Yuki Morishita > Fix For: 1.1.10, 1.2.1 > > Attachments: 5182-1.1.txt, test_ttl.tar.gz > > > Our use case is write heavy and read seldom. To optimize the space used, we've set the bloom_filter_fp_ratio=1.0 That along with the fact that each row is only written to one time and that there are more than 20 SSTables keeps the rows from ever being compacted. Here is the code: > https://github.com/apache/cassandra/blob/cassandra-1.1/src/java/org/apache/cassandra/db/compaction/CompactionController.java#L162 > We hit this conner case and because of this C* keeps consuming more and more space on disk while it should not. -- 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