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] [Assigned] (ZOOKEEPER-4508) ZooKeeper client run to endless loop in ClientCnxn.SendThread.run if all server down

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-4508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kezhu Wang reassigned ZOOKEEPER-4508:
-------------------------------------

    Assignee: Kezhu Wang

> 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.6.3, 3.7.0, 3.8.0
>            Reporter: Kezhu Wang
>            Assignee: Kezhu Wang
>            Priority: Major
>
> 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)