You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/04/30 21:03:00 UTC

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

Tsz Wo Nicholas Sze created RATIS-233:
-----------------------------------------

             Summary: 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


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)