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

Elek, Marton commented on RATIS-94:
-----------------------------------

Thanks the feedback. 

I can accept {{List<String>}} as the return type of {{LeaderState#getSenders}} 
(which is IMHO not getSenders any more but rather just getFollowers), but what 
do you think about {{List<RaftPeer>}}? {{RaftPeer}} is immutable so it couldn't 
be modified from outside and little bit more meaningfull/more structured then 
the simple String. 

> Expose basic information over JMX
> ---------------------------------
>
>                 Key: RATIS-94
>                 URL: https://issues.apache.org/jira/browse/RATIS-94
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>         Attachments: RATIS-94-1.patch, RATIS-94.2.patch, RATIS-94.3.patch
>
>
> To make it easier to debug the current state of the nodes the basic 
> RatisServer information should be exposed over the JMX interface. Such as: 
> role (leader,follower), latest term, index, follower peers (in case of LEADER)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to