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

Xinyu Tan commented on RATIS-1570:
----------------------------------

We expect this feature will be involved in release 2.3.0

> Add getLeader method to DivisionInfo
> ------------------------------------
>
>                 Key: RATIS-1570
>                 URL: https://issues.apache.org/jira/browse/RATIS-1570
>             Project: Ratis
>          Issue Type: New Feature
>          Components: API
>            Reporter: Song Ziyang
>            Assignee: Xinyu Tan
>            Priority: Minor
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Currently in DivisionInfo, Peer can obtain its role through getCurrentRole. 
> However, when the peer is follower, application want to know who is the 
> current group leader in some scenario. We can add a getLeader interface to 
> DivisionInfo to provide the peer's best knowledge about current leader.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to