You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2015/08/03 21:14:05 UTC
[jira] [Commented] (CASSANDRA-9965)
ColumnFamilyStore.setCompactionStrategyClass() is (somewhat) broken
[ https://issues.apache.org/jira/browse/CASSANDRA-9965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652301#comment-14652301 ]
Robert Stupp commented on CASSANDRA-9965:
-----------------------------------------
Setting compactionStrategyClass without setting the compaction parameters is probably not a good idea at all - different strategies means different/incompatible options.
> ColumnFamilyStore.setCompactionStrategyClass() is (somewhat) broken
> -------------------------------------------------------------------
>
> Key: CASSANDRA-9965
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9965
> Project: Cassandra
> Issue Type: Bug
> Reporter: Aleksey Yeschenko
> Assignee: Marcus Eriksson
> Priority: Minor
> Fix For: 2.1.x, 2.2.x, 3.0.0 rc1
>
>
> {{ColumnFamilyStore.setCompactionStrategyClass()}} should get the same treatment wrt JMX/schema switches that {{enabled}} got in CASSANDRA-9899.
> It should also not alter the {{CFMetaData}} object directly, ever. Only DDL statements should be allowed to do that.
> CASSANDRA-9712 will temporarily throw UOE for that call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)