Add a listener for state changes to zookeeper elections to, hopefully,
authorScott Gasch <[email protected]>
Sat, 20 Aug 2022 17:04:25 +0000 (10:04 -0700)
committerScott Gasch <[email protected]>
Sat, 20 Aug 2022 17:04:25 +0000 (10:04 -0700)
commite855227db11fdd8a34e13ad3223aa9a5dd4b7978
tree9223b9c2d6cd96d09a54ffbf465a2dd0c0cb72ff
parent071d4c51711f654edefe704174422caea1d13ea7
Add a listener for state changes to zookeeper elections to, hopefully,
react immediately upon loss of connection.  Also modify elections to
thread.join(timeout) to react immediately on child thread exit.  Also
move zk stuff into the core of the decorators so that we don't have
one global zk client instance that gets torn down the first time its
used.
zookeeper.py