[
https://issues.apache.org/jira/browse/CASSANDRA-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Eriksson updated CASSANDRA-5074:
---------------------------------------
Attachment: 0001-CASSANDRA-5074-v2.patch
+1 on all the comments
now it is a compaction_strategy_option in cli, and a compaction = {..} option
in CQL.
i also removed a call to cfs.setCompactionThresholds in the STCS constructor,
couldn't find a reason it was there.
and, if there is a better way of disallowing min/max thresholds = 0 than
checking in cql, cql3 and cli that does not break existing schemas, let me know
> 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
> Assignee: Marcus Eriksson
> Priority: Minor
> Fix For: 2.0
>
> Attachments:
> 0001-CASSANDRA-5074-make-it-possible-to-disable-autocompa.patch,
> 0001-CASSANDRA-5074-v2.patch
>
>
> 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