[ https://issues.apache.org/jira/browse/ZOOKEEPER-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769038#comment-15769038 ]
Michael Han commented on ZOOKEEPER-2479: ---------------------------------------- [~rakeshr] A small change is required for this patch as it breaks apache builds for branch-3.4 which uses JDK 1.6 (it's actually using JDK 1.5 but that will be fixed by ZOOKEEPER-2646), where diamond operator was not available. https://github.com/apache/zookeeper/commit/52d365041759229ddc46798e34ee845fc1e26732#diff-3d1cc56cfc8e62939e368f3522cfc8a1R146 > Add 'electionTimeTaken' value in LeaderMXBean and FollowerMXBean > ---------------------------------------------------------------- > > Key: ZOOKEEPER-2479 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2479 > Project: ZooKeeper > Issue Type: Improvement > Components: quorum > Reporter: Rakesh R > Assignee: Rakesh R > Fix For: 3.4.10, 3.5.3, 3.6.0 > > Attachments: ZOOKEEPER-2479.patch, ZOOKEEPER-2479.patch, > ZOOKEEPER-2479.patch, ZOOKEEPER-2479.patch, ZOOKEEPER-2479.patch, > ZOOKEEPER-2479.patch > > > The idea of this jira is to expose {{time taken}} for the leader election via > jmx Leader, Follower beans. -- This message was sent by Atlassian JIRA (v6.3.4#6332)