You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "gendong1 (Jira)" <ji...@apache.org> on 2024/03/14 13:41:00 UTC

[jira] [Created] (ZOOKEEPER-4816) A follower can not join the cluster for 20s seconds

gendong1 created ZOOKEEPER-4816:
-----------------------------------

             Summary: A follower can not join the cluster for 20s seconds
                 Key: ZOOKEEPER-4816
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4816
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.10.0
            Reporter: gendong1
         Attachments: node1.log, node2.log, node3.log

We encounter a strange scenario. When we set up the cluster of zookeeper(3 nodes totally), the third node is stuck in serializing the snapshot to the local disk. However, the leader election is executed normally. After the election, the third node is elected as the leader. The other two nodes fail to connect with the leader. Hence, the first and second nodes restart the leader election, finally the second node is elected as the leader. At this time, the third node still act as the leader. There are two leaders in the cluster. The first node can not join the cluster for 20s. During this procedure, the client can not connect with any nodes of the cluster.

  Runtime logs are attached.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)