You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Kezhu Wang (Jira)" <ji...@apache.org> on 2022/04/01 07:38:00 UTC

[jira] [Created] (ZOOKEEPER-4508) ZooKeeper client run to endless loop in ClientCnxn.SendThread.run if all server down

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)