You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "pengWei Dou (Jira)" <ji...@apache.org> on 2020/11/18 09:19:00 UTC

[jira] [Created] (ZOOKEEPER-4005) Zookeeper will not sync snapshot while get DIFF and cause start failed.

pengWei Dou created ZOOKEEPER-4005:
--------------------------------------

             Summary: Zookeeper will not sync snapshot while get DIFF and cause start failed.
                 Key: ZOOKEEPER-4005
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4005
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.5.6, 3.5.1
            Reporter: pengWei Dou


The 3.5.1 version of ZK does not detect whether the snapshot file exists or not. However, the snapshot file detection is added in the subsequent version. When I tested the upgrade from 3.5.1 to 3.5.6, I found that after the ZK election is completed, the, One of the ZK nodes has an error in the following phase due to some network reasons, and then it will receive a diff reply. At this time, because of diff, snapshotNeeded is assigned as false, and isPreZAB1_0 is also  is assigned to false. At this time, no snapshot file will be generated, but there will be a log file, which will cause the startup failure after the upgrade is completed.

 

 

 



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