Siddharth Wagle created RATIS-693:
-------------------------------------

             Summary: 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
             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