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

Marcus Eriksson commented on CASSANDRA-9965:
--------------------------------------------

pushed with nits fixed:
https://github.com/krummas/cassandra/commits/marcuse/9965
https://github.com/krummas/cassandra/commits/marcuse/9965-2.2
https://github.com/krummas/cassandra/commits/marcuse/9965-3.0
https://github.com/krummas/cassandra/commits/marcuse/9965-trunk

note that for 3.0+ I removed the deprecated methods and added a jmx method to 
get the globally configured compaction strategy, so that users can compare and 
see if the local one is changed.

tests (soon):
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-dtest/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-2.2-dtest/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-3.0-dtest/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-trunk-dtest/

http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-testall/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-2.2-testall/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-3.0-testall/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-marcuse-9965-trunk-testall/



> 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)

Reply via email to