You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/05/09 13:04:00 UTC
[jira] [Resolved] (RATIS-1570) Add getLeaderId method to DivisionInfo
[ https://issues.apache.org/jira/browse/RATIS-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1570.
-------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
The pull request is now merged. Thanks, [~tanxinyu]!
> Add getLeaderId 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
> Fix For: 2.3.0
>
> Original Estimate: 48h
> Time Spent: 1h 20m
> Remaining Estimate: 46h 40m
>
> 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)