GitHub user lavacat opened a pull request: https://github.com/apache/zookeeper/pull/500
ZOOKEEPER-2959: ignore accepted epoch and LEADERINFO ack from observers https://issues.apache.org/jira/browse/ZOOKEEPER-2959 - add getVotingView check for id in getEpochToPropose and waitForEpochAck - refactor waitForNewLeaderAck to use getVotingView - unit tests credit: Xiang Yongqiang (https://github.com/xyq000) for original PR and reporting the issue You can merge this pull request into a Git repository by running: $ git pull https://github.com/lavacat/zookeeper branch-3.4 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/500.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 #500 ---- commit 98c40dac60951c61b3b1922d0038461d81b843a1 Author: Bogdan Kanivets <bkanivets@...> Date: 2018-04-08T08:46:37Z ZOOKEEPER-2959: ignore accepted epoch and LEADERINFO ack from observers https://issues.apache.org/jira/browse/ZOOKEEPER-2959 - add getVotingView check for id in getEpochToPropose and waitForEpochAck - refactor waitForNewLeaderAck to use getVotingView - unit tests credit: Xiang Yongqiang (https://github.com/xyq000) for original PR and reporting the issue ---- ---