Kezhu Wang created ZOOKEEPER-4508:
-------------------------------------
Summary: ZooKeeper client run to endless loop in
ClientCnxn.SendThread.run if all server down
Key: ZOOKEEPER-4508
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4508
Project: ZooKeeper
Issue Type: Bug
Components: java client
Affects Versions: 3.8.0, 3.7.0, 3.6.3
Reporter: Kezhu Wang
The observable behavior is that client will not get expired event from watcher.
The cause if twofold:
1. `updateLastSendAndHeard` is called in reconnection so the session timeout
don't decrease.
2. There is not break out from `ClientCnxn.SendThread.run` after session
timeout.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)