MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / _cleanup_failed_on_up_handling

Method _cleanup_failed_on_up_handling

cassandra/cluster.py:1797–1803  ·  view source on GitHub ↗
(self, host)

Source from the content-addressed store, hash-verified

1795 session.user_type_registered(keyspace, udt_name, klass)
1796
1797 def _cleanup_failed_on_up_handling(self, host):
1798 self.profile_manager.on_down(host)
1799 self.control_connection.on_down(host)
1800 for session in tuple(self.sessions):
1801 session.remove_pool(host)
1802
1803 self._start_reconnector(host, is_host_addition=False)
1804
1805 def _on_up_future_completed(self, host, futures, results, lock, finished_future):
1806 with lock:

Callers 2

on_upMethod · 0.95

Calls 3

_start_reconnectorMethod · 0.95
remove_poolMethod · 0.80
on_downMethod · 0.45

Tested by

no test coverage detected