zookeeper
zookeeper copied to clipboard
ZOOKEEPER-4508: Fix endless-loop in ClientCnxn.SendThread.run when all zk servers down
The observable behavior is that client will not get expired event from watcher. The cause is twofold:
updateLastSendAndHeardis called in reconnection so the session will not timeout.- No
breakafter session timeout inClientCnxn.SendThread.run.