GitHub user eolivelli opened 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 beee9324db4d0de9e874fec0aa0e9cc19dde9b79
Author: Enrico Olivelli <eolivelli@...>
Date: 2018-06-20T13:20:18Z
ZOOKEEPER-3066 Expose on JMX of Followers the id of the current leader
Export a new JMX attribute isLeader in RemotePeerBean and LocalPeerBean
----
---