[
https://issues.apache.org/jira/browse/RATIS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated RATIS-291:
--------------------------------------
Attachment: RATIS-291.02_commit.patch
> 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
> Reporter: Mukul Kumar Singh
> Assignee: Shashikant Banerjee
> Priority: Major
> Labels: ozone
> Fix For: 0.3.0
>
> Attachments: RATIS-291.02.patch, RATIS-291.02_commit.patch
>
>
> 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)