[
https://issues.apache.org/jira/browse/CASSANDRA-17752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17568568#comment-17568568
]
Brandon Williams commented on CASSANDRA-17752:
----------------------------------------------
Approach LGTM.
> fix restarting of services on gossipping-only members
> -----------------------------------------------------
>
> Key: CASSANDRA-17752
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17752
> Project: Cassandra
> Issue Type: Bug
> Components: Legacy/Core, Tool/nodetool
> Reporter: Stefan Miklosovic
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 4.x
>
>
> When a node is started with -Dcassandra.join_ring=false, it is possible to
> talk to it via CQL. If we disable it via "nodetool disablebinary", it is not
> possible to enable it back with "nodetool enablebinary".
> The reason why is that enablebinary command eventually calls
> "StorageService#checkServiceAllowedToStart" and it throws when:
> 1) the node is draining (which does not happen)
> 2) it is shutting down (which does not happen)
> 3) is not in NORMAL state - which happens.
> The state of the gossipping-only member is STARTING for ever.
> The check should make an exception here, like if it is in STARTING but
> -Dcassandra.join_ring=false, start it anyway.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]