GitHub user lvfangmin opened a pull request:
https://github.com/apache/zookeeper/pull/685
[ZOOKEEPER-3104] Fix potential data inconsistency due to NEWLEADER packet
being sent too early during SNAP sync
Port this fix from master to 3.5.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lvfangmin/zookeeper ZOOKEEPER-3104-3.5
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/685.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #685
----
commit 5703e334a1a775b9f8342409924fc3247475aa81
Author: Fangmin Lyu <allenlyu@...>
Date: 2018-11-02T20:08:07Z
Fix potential data inconsistency due to NEWLEADER packet being sent too
early during SNAP sync
----
---