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

Jeremiah Jordan edited comment on CASSANDRA-9899 at 7/27/15 3:05 PM:
---------------------------------------------------------------------

We should probably be passing through the enable/disable in 2.1 at the least.  
This change breaks the contract for custom compaction strategies if you just go 
remove the enable checks in the built in strategies.
For 2.2/3.0 we can change that contract and remove custom strategies even 
caring about enable/disable.  It should be moved out of being handled by 
AbstractCompactionStrategy in that case.


was (Author: jjordan):
We should probably be passing through the enable/disable in 2.1 at the least.  
This change breaks the contract for custom compaction strategies if you just go 
remove the enable checks in the built in strategies.

> If compaction is disabled in schema, you can't enable a single node through 
> nodetool
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9899
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9899
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jeremiah Jordan
>            Assignee: Marcus Eriksson
>             Fix For: 2.1.x
>
>
> If you disable compaction in the schema through alter table, and then try to 
> enable compaction on just one node with "nodetool enableautocompaction" it 
> doesn't work.  WrappingCompactionStrategy needs to pass through the enable to 
> the wrapped strategies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to