[ 
https://issues.apache.org/jira/browse/RATIS-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510781#comment-16510781
 ] 

Kit Hui commented on RATIS-233:
-------------------------------

Thanks, added 2 test cases.

> 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, r233_20180613.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)

Reply via email to