GitHub user eolivelli reopened a pull request: https://github.com/apache/zookeeper/pull/546
ZOOKEEPER-3066 Expose on JMX of Followers the id of the current leader Expose a new JMX attribute "isLeader" in RemotePeerBean and LocalPeerBean You can merge this pull request into a Git repository by running: $ git pull https://github.com/eolivelli/zookeeper fix/ZOOKEEPER-3066-leader-jmx Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/546.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 #546 ---- commit 067aed9efe135cae686eb6b9681f46870eec28db Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-21T01:11:58Z ZOOKEEPER-3066 Expose on JMX of Followers the id of the current leader Enhance RemotePeerMXBean and LocalPeerMXBean by adding information about leadership commit 5f120631f926e85c83d93c14138748e2b803615c Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-21T11:57:42Z ZOOKEEPER-3066 add servers restart to test case commit 2778e742799dccbe841c21b018847dc38f4eaf1e Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-22T11:06:21Z revert "ZOOKEEPER-3066 add servers restart to test case" This reverts commit 5f120631f926e85c83d93c14138748e2b803615c. commit 43782fe5949e522931aa2d812ca3a6bbc3438e2d Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-22T11:34:05Z introduce mockito tests commit b5000efc316eb4855ca8a85fc5133d9a9f61d963 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-22T15:26:06Z clean up test commit 86b116b090574d5906c575c70e9fbc38c5b83f11 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-25T14:20:04Z enhance tests commit eb8d1bead655ae63a3e3779d6eb10b4a86fc2c64 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-25T17:56:40Z split tests commit a1984ef1bd51f26ceeb44380571d3a691ea8f483 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-25T17:58:01Z fix typo commit 81d7bb1ce6fac4d61a2c0e6d9cfe400d7ec61f23 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-26T06:50:05Z split tests into LocalPeerBeanTest and QuorumPeerTest commit ded4ce204b549a2e800ee10d5a8ded4a1a0c3649 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-26T06:51:23Z reorder imports commit bf09e37d90445b672fdf3e7aeea72ea05c514416 Author: Enrico Olivelli <eolivelli@...> Date: 2018-06-26T06:53:26Z clean up spaces ---- ---