[ https://issues.apache.org/jira/browse/CASSANDRA-17752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-17752: ----------------------------------------- Reviewers: Brandon Williams, Brandon Williams Brandon Williams, Brandon Williams (was: Brandon Williams) Status: Review In Progress (was: Patch Available) > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org