MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / on_reconnection

Method on_reconnection

cassandra/pool.py:353–358  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

351 return self.connection_factory()
352
353 def on_reconnection(self, connection):
354 log.info("Successful reconnection to %s, marking node up if it isn't already", self.host)
355 if self.is_host_addition:
356 self.on_add(self.host)
357 else:
358 self.on_up(self.host)
359
360 def on_exception(self, exc, next_delay):
361 if isinstance(exc, AuthenticationFailed):

Callers

nothing calls this directly

Calls 2

on_addMethod · 0.45
on_upMethod · 0.45

Tested by

no test coverage detected