GitHub user xyq000 opened a pull request:
https://github.com/apache/zookeeper/pull/438
ZOOKEEPER-2959: ignore accepted epoch and ack from observers
https://issues.apache.org/jira/browse/ZOOKEEPER-2959
After a round of elections completes, followers and observers send their
accepted epochs to the leader to determine a final epoch.
Since `QuorumVerifier#containsQuorum(Set set)` does not check whether the
elements of argument `set` exactly represent participants, this pull request is
intended to ignore reported epochs and acks from observers for logical
consistency.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xyq000/zookeeper ZOOKEEPER-2959
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/438.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 #438
----
commit 647061aa7ba1182b83b44b7f2671508012a30b4c
Author: Yongqiang Xiang <xiangyongqiang@...>
Date: 2017-12-29T08:20:06Z
ignore accepted epoch and ack from observers
----
---