You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Kit Hui (JIRA)" <ji...@apache.org> on 2018/05/25 02:35:00 UTC

[jira] [Updated] (RATIS-233) Throw an exception for the delayed requests if the leader is stepping down

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

Kit Hui updated RATIS-233:
--------------------------
    Attachment: r233_20180525.patch

> Throw an exception for the delayed requests if the leader is stepping down
> --------------------------------------------------------------------------
>
>                 Key: RATIS-233
>                 URL: https://issues.apache.org/jira/browse/RATIS-233
>             Project: Ratis
>          Issue Type: New Feature
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Kit Hui
>            Priority: Major
>         Attachments: r233_20180525.patch
>
>
> When a leader is stepping down, if there are delayed requests (i.e. the requests with ALL replications), the leader should throw an exception, say NotReplicatedException, to the client.   Then, the client will learn that the request is committed (i.e. replicated to a majority of the servers) but not yet replicated to all servers.



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