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

Tsz-wo Sze commented on RATIS-693:
----------------------------------

[~swagle], thanks for filing the JIRA.  Let's use RaftGroupMemberId instead of 
RaftGroupId as the parameter.  The peerId will be also passed.

> Combine notifyLeader and notifyLeaderChanged calls on StateMachine
> ------------------------------------------------------------------
>
>                 Key: RATIS-693
>                 URL: https://issues.apache.org/jira/browse/RATIS-693
>             Project: Ratis
>          Issue Type: Improvement
>          Components: raft-group, server
>    Affects Versions: 0.5.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Major
>             Fix For: 0.5.0
>
>
> RATIS-678 introcuded _notifyLeaderChanged_ API on the StateMachine interface 
> which will be called to notify the statemachine when the leaderId changes on 
> leader as well as the follower.
> Downstream services like Ozone utilize this functionality to decide when the 
> Raft group is ready to accept writes and do open the write pipeline.
> Purpose of this jira is to combine notifyLeader and notifyLeaderChanged into 
> a single API.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to