Mukul Kumar Singh created RATIS-291:
---------------------------------------

             Summary: Raft Server should fail themselves when a raft storage 
directory fails
                 Key: RATIS-291
                 URL: https://issues.apache.org/jira/browse/RATIS-291
             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


A Raft server uses a storage directory to store the write ahead log. If this 
log is lost because of a reason, then this node should fail itself.

For a follower, if raft log location has failed, then the follower will not be 
able to append any entries. This node will now be lagging behind the follower 
and will eventually be notified via notifySlowness.

For a leader where the raft log disk has failed, the leader will not append any 
new entries to its log. However with respect to the raft ring, the leader will 
still remain healthy. This jira proposes to add a new api to identify a leader 
with failed node.

Also this jira also proposes to add a new api to the statemachine, so that 
state machine implementation can provide methods to verify the raft log 
location.



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

Reply via email to