[
https://issues.apache.org/jira/browse/CASSANDRA-9899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645509#comment-14645509
]
Marcus Eriksson commented on CASSANDRA-9899:
--------------------------------------------
Right, so the disabledWithJMX check is to make sure we don't enable ourselves
if someone has disabled with nodetool and then changes something else in the
compaction options.
If we were enabled in schema, someone disables with nodetool, we always stay
disabled after any alter that changes compaction options. This means that if
you have enabled: true in schema, do nodetool disable, you can't enable it
again with a schema change setting enabled: true (as that is the value the
schema already has). This can be fixed of course, do you think we should always
be able to enable with a schema change?
> 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)