You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "zengqingdong (Jira)" <ji...@apache.org> on 2020/01/09 08:21:00 UTC

[jira] [Created] (CURATOR-554) restart zk , task in thread "Curator-ConnectionStateManager-0" stop ,leaderLatch failed

zengqingdong created CURATOR-554:
------------------------------------

             Summary: restart zk , task in thread "Curator-ConnectionStateManager-0" stop ,leaderLatch failed
                 Key: CURATOR-554
                 URL: https://issues.apache.org/jira/browse/CURATOR-554
             Project: Apache Curator
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.2.0, 4.0.1
            Reporter: zengqingdong
             Fix For: awaiting-response


stop zk ,after two minutes restart it.

the thread in ConnectionStateManager named "Curator-ConnectionStateManager-0" break out the dead Loop.

code : org.apache.curator.framework.state.ConnectionStateManager#start

the task stopped and would not restasrt ,so that when a new connectionState (such as reconnect) coming , there would no any response.

it will lead to leaderLatch failed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)