You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2018/08/04 04:45:00 UTC

[jira] [Created] (RATIS-290) Raft server should notify the state machine if no leader is assigned for a long time

Mukul Kumar Singh created RATIS-290:
---------------------------------------

             Summary: Raft server should notify the state machine if no leader is assigned for a long time
                 Key: RATIS-290
                 URL: https://issues.apache.org/jira/browse/RATIS-290
             Project: Ratis
          Issue Type: Bug
          Components: server
    Affects Versions: 0.3.0
            Reporter: Mukul Kumar Singh
            Assignee: Mukul Kumar Singh
             Fix For: 0.3.0


In ratis a raft server can be in 3 state, Candidate, Leader and Follower. Out of these state, in a cluster, one node being a leader and others being the follower is the steady system state. This jira proposes to add a new api to identify if a node is left aside because of network partition and is without a leader.

Once it is detected that a node has been in leader for a sufficiently long time, then a callback to the state machine will be triggered to handle this partitioned node.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)