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 57E1EE05C for ; Thu, 21 Feb 2013 12:10:15 +0000 (UTC) Received: (qmail 22153 invoked by uid 500); 21 Feb 2013 12:10:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 21721 invoked by uid 500); 21 Feb 2013 12:10:13 -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 21679 invoked by uid 99); 21 Feb 2013 12:10:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 12:10:13 +0000 Date: Thu, 21 Feb 2013 12:10:13 +0000 (UTC) From: "Andrea Gazzarini (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5074) Add an official way to disable 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-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583140#comment-13583140 ] Andrea Gazzarini commented on CASSANDRA-5074: --------------------------------------------- Probably that wasn't clear, but honestly I believe it's a problem of mine: I have just a little bit of experience on Cassandra source code and its internal architecture. Ok, now I think I got the point about your idea, so I will continue investigating the code in order to implement that. A question: in case the logic is moved on the CompactionMananger, what should be, from client point of view, a nice and good way to indicate that the (background) compaction must be disabled? I believe the command line of my previous post is no longer appropriate > create column family XYZ with compaction_strategy=NoCompactionStrategy > Add an official way to disable compaction > ----------------------------------------- > > Key: CASSANDRA-5074 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5074 > Project: Cassandra > Issue Type: Bug > Reporter: Jonathan Ellis > Priority: Minor > Fix For: 1.2.2 > > > We've traditionally used "min or max compaction threshold = 0" to disable compaction, but this isn't exactly intuitive and it's inconsistently implemented -- allowed from jmx, not allowed from cli. -- 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