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

[jira] [Updated] (RATIS-291) Raft Server should fail themselves when a raft storage directory fails

     [ https://issues.apache.org/jira/browse/RATIS-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shashikant Banerjee updated RATIS-291:
--------------------------------------
    Attachment: RATIS-291.01.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
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Shashikant Banerjee
>            Priority: Major
>              Labels: ozone
>             Fix For: 0.3.0
>
>         Attachments: RATIS-291.01.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)