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

Siddharth Wagle commented on RATIS-693:
---------------------------------------

Thanks [~szetszwo] for review, updated the patch.

> 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
>
>         Attachments: RATIS-693.01.patch, RATIS-693.02.patch
>
>
> 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