rustyrazorblade / easy-cass-lab

Create Apache Cassandra lab environments in AWS
https://rustyrazorblade.com/
Other
11 stars 7 forks source link

restart-cassandra-and-wait should make sure process is up #121

Closed rustyrazorblade closed 4 months ago

rustyrazorblade commented 5 months ago

The start process currently has a low timeout because it doesn't know if the process failed to start. We should wait longer than we do now, up to 5 minutes, and check both nodetool and systemd. If the process is still up, we can continue. If it crashed, we can exit early.