[
https://issues.apache.org/jira/browse/RATIS-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511251#comment-16511251
]
Tsz Wo Nicholas Sze commented on RATIS-233:
-------------------------------------------
Oops, just found some problems from the Jenkins results:
- testAsyncDelayRequestIfLeaderStepDown should be moved to RaftAsyncTests since
some rpc implementations are not yet supported async.
- The indentation of runTestDelayRequestIfLeaderStepDown is off -- It should
use 2 spaces in the first level instead of 4.
> 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_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)