You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andrea Gazzarini (JIRA)" <ji...@apache.org> on 2013/02/15 18:13:12 UTC

[jira] [Commented] (CASSANDRA-5074) Add an official way to disable compaction

    [ https://issues.apache.org/jira/browse/CASSANDRA-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579332#comment-13579332 ] 

Andrea Gazzarini commented on CASSANDRA-5074:
---------------------------------------------

Hi, as far as I understood, that requires writing a NullObject implementation of AbstractCompactionStrategy. Is that enough? I tried in my local Cassandra installation 

> create column family with compaction_strategy=NoCompactionStrategy 

and effectively the compaction never run...but to be honest I'm a Cassandra newbie so I'm wondering if that is enough. In this case I could submit the patch, otherwise please point me to the right direction, i'd like to give a hand. 
                
> 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