[
https://issues.apache.org/jira/browse/RATIS-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xinyu Tan updated RATIS-1570:
-----------------------------
Summary: Add getLeaderId method to DivisionInfo (was: Add getLeader method
to DivisionInfo)
> 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
> Original Estimate: 48h
> Time Spent: 40m
> Remaining Estimate: 47h 20m
>
> 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)