GitHub user lavacat opened a pull request:
https://github.com/apache/zookeeper/pull/512
ZOOKEEPER-2959: ignore accepted epoch and LEADERINFO ack from observers
https://issues.apache.org/jira/browse/ZOOKEEPER-2959
- added getVotingMembers id check in getEpochToPropose and waitForEpochAck
- removed unused learnerType param in waitForNewLeaderAck
- unit tests
- refactored common test helpers into ZabUtils
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 master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/512.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 #512
----
commit 08d574237955865c9e474d6be93ed924d779d9ae
Author: Bogdan Kanivets <bkanivets@...>
Date: 2018-04-20T00:02:59Z
ZOOKEEPER-2959: ignore accepted epoch and LEADERINFO ack from observers
https://issues.apache.org/jira/browse/ZOOKEEPER-2959
- added getVotingMembers id check in getEpochToPropose and waitForEpochAck
- removed unused learnerType param in waitForNewLeaderAck
- unit tests
- refactored common test helpers into ZabUtils
credit: Xiang Yongqiang (https://github.com/xyq000) for original PR and
reporting the issue
----
---