[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401440#comment-15401440
 ] 

Rakesh R commented on ZOOKEEPER-2479:
-------------------------------------

During FLE, server will go to {{LOOKING}} state after unregistering LeaderBean 
or FollowerBean, so the jmx bean won't be available to the users and I think no 
impact of resetting the value here. But I just resets the 
{{QuorumPeer#fleTimeTaken}} variable value to convey the message that during 
FLE, the value will be -1 and showing that LE is in progress. I don't have 
strong reason for this, its a new variable and we have chance to define the 
semantics. I will remove the resetting and upload patch.

> Add 'fleTimeTaken' 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.9, 3.5.3, 3.6.0
>
>         Attachments: 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)

Reply via email to