We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c84b98b commit ca9f7a0Copy full SHA for ca9f7a0
cassandra/tools/instances.py
@@ -61,7 +61,9 @@ def restart(self):
61
logging.info("CQL (%s:%s) is UP", self.rpc_address, self.native_transport_port)
62
listening = True
63
break
64
- sleep(2)
+ elif i < 9:
65
+ logging.warn("CQL (%s:%s) not listening (will retry)...")
66
+ sleep(6)
67
if not listening:
68
logging.error("CQL (%s:%s) DOWN", self.rpc_address, self.native_transport_port)
69
raise Exception("{} restart FAILED".format(self.service_name))
0 commit comments