Joshua Boniface
80f04ce8ee
Regenerating the ZK connection was fraught with issues, including duplicate connections, strange failures to reconnect, and various other wonkiness. Instead let Kazoo handle states sensibly. Kazoo moves to SUSPENDED state when it loses connectivity, and stays there indefinitely (based on cursory tests). And Kazoo seems to always resume from this just fine on its own. Thus all that hackery did nothing but complicate reconnection. This therefore turns the listener into a purely informational function, providing logs of when/why it failed, and we also add some additional output messages during initial connection and final disconnection. |
||
---|---|---|
.. | ||
migrations/versions | ||
ceph.py | ||
cluster.py | ||
common.py | ||
log.py | ||
network.py | ||
node.py | ||
vm.py | ||
zkhandler.py |