Ariel Weisberg created CASSANDRA-20673:
------------------------------------------
Summary: CCM not killing remaining nodes if lower index nodes fail
to start
Key: CASSANDRA-20673
URL: https://issues.apache.org/jira/browse/CASSANDRA-20673
Project: Apache Cassandra
Issue Type: Bug
Reporter: Ariel Weisberg
It starts them all in a loop without checking what their PID is from the PID
file and then loops checking to see if each one is running. If a node kills
itself then CCM skips straight to stopping all the nodes without having read
their PID files.
The fix is two parts, first is loop over all the nodes waiting for them to
start up before checking if they have the log message saying they are listening
for CQL connections.
The entire state management is here is very fragile and really a better way to
do this would be to tag the command lines and then just `pkill -9 -f` so you
don't have to search for the PID at all. There is a lot of conditions and
setting things to `None` and only doing things if in a certain state and when
it comes to just making sure something is stopped it's not necessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]