Skip to content

Commit f271db8

Browse files
committed
Don't mark node down when control connection fails to connect
Node pools should be stable, if cc fails to connect it is not good enough reason to neither to kill it nor to mark node down.
1 parent dd1adc7 commit f271db8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cassandra/cluster.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3546,10 +3546,6 @@ def _connect_host_in_lbp(self):
35463546
for host in lbp.make_query_plan():
35473547
try:
35483548
return (self._try_connect(host), None)
3549-
except ConnectionException as exc:
3550-
errors[str(host.endpoint)] = exc
3551-
log.warning("[control connection] Error connecting to %s:", host, exc_info=True)
3552-
self._cluster.signal_connection_failure(host, exc, is_host_addition=False)
35533549
except Exception as exc:
35543550
errors[str(host.endpoint)] = exc
35553551
log.warning("[control connection] Error connecting to %s:", host, exc_info=True)

0 commit comments

Comments
 (0)