GitHub user mkedwards opened a pull request:
https://github.com/apache/zookeeper/pull/714
Zookeeper 1818 (on top of #713 to fix ZOOKEEPER-2778 and ZOOKEEPER-1636 for
a green build)
Rebasing Fangmin Lyu's patch from
https://github.com/lvfangmin/zookeeper/tree/ZOOKEEPER-1818 onto the 3.5 branch
(cumulative with other PRs in flight).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mkedwards/zookeeper ZOOKEEPER-1818
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/714.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 #714
----
commit 3694a4e31eef9b85de59112c22ab163452610743
Author: Michael Edwards <medwards@...>
Date: 2018-11-20T13:33:09Z
[ZOOKEEPER-2778] QuorumPeer: encapsulate quorum/election/client addresses
in an AddressTuple held through an AtomicReference
commit 4cd10c86519b75521f89e451033dca4869d8d0d1
Author: Michael Edwards <michael edwards>
Date: 2018-11-21T08:53:54Z
[ZOOKEEPER-2778] QuorumPeer/QuorumCnxManager: address deadlock and
visibility issues
commit 03d259bae3b744dc494022698fa843f6cf35e7ed
Author: Michael Edwards <michael edwards>
Date: 2018-11-21T09:01:45Z
[ZOOKEEPER-2778] QuorumPeer: add fast path for already-non-null
quorum/election address
commit 0531d9c8e6a44ec531a4d8ad667307d9859bef7e
Author: Michael Edwards <michael edwards>
Date: 2018-11-21T17:13:14Z
[ZOOKEEPER-2778] QuorumPeer: fixes from code review
commit 9701f0576f53d1859d3584d0bb9730c89eb57ac1
Author: Michael Edwards <michael edwards>
Date: 2018-11-21T17:19:44Z
[ZOOKEEPER-2778] QuorumPeer: fix access to newly private data members from
ReconfigTest
commit bbeeebf87391ef642059c4b3b65592c361a2ab4e
Author: Michael Edwards <michael edwards>
Date: 2018-11-21T19:48:49Z
[ZOOKEEPER-2778] LeaderBeanTest: set up mock QuorumVerifier so that
addresses get set
commit 0e2b571d452306ae151b106e05d0511b09a237d3
Author: Michael Edwards <michael edwards>
Date: 2018-11-21T20:31:16Z
ZOOKEEPER-1636: cleanup completion list of a failed multi request (from
Thawan Kooburat)
commit 7f286c46d505c3300a15de9d1f4849a4da84e6d3
Author: Fangmin Lyu <fangmin@...>
Date: 2018-11-15T17:46:51Z
ZOOKEEPER-1818: Correctly handle potential inconsitent zxid/electionEpoch
and peerEpoch during leader election
----
---