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

Tsz-wo Sze edited comment on RATIS-1000 at 1/9/24 8:53 PM:
-----------------------------------------------------------

In StateMachine.EventApi, we have notifyLeaderChanged(..) to notify the 
StateMachine that a new leader has been elected.  Is it good enough for your 
use case?


was (Author: szetszwo):
In StateMachine.EventApi, we have notifyLeaderChanged(..) to notify the 
StateMachine that a new leader has been elected.

> Support role tracking per raft-group in a local raft-server
> -----------------------------------------------------------
>
>                 Key: RATIS-1000
>                 URL: https://issues.apache.org/jira/browse/RATIS-1000
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Göktürk Gezer
>            Assignee: Rui Wang
>            Priority: Critical
>
> For when raft-server functionality is leveraged in a single-leader topology, 
> it is always useful to be able to know the local raft-server's role and make 
> necessary transitions in cluster accordingly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to