You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2017/03/09 23:59:38 UTC

[jira] [Updated] (RATIS-38) RaftClient should not retry on StateMachineException

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

Jing Zhao updated RATIS-38:
---------------------------
    Attachment: RATIS-38.000.patch

Upload the first patch. StateMachineException thrown while applying tx to state machine should be treated as the result of the request. Thus the current patch puts the StateMachineException into the RaftClientReply so that later it can be retrieved from the retry cache.

> RaftClient should not retry on StateMachineException
> ----------------------------------------------------
>
>                 Key: RATIS-38
>                 URL: https://issues.apache.org/jira/browse/RATIS-38
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: RATIS-38.000.patch
>
>
> RaftClient should only retry for exceptions happening during the raft replication. Exception coming from the StateMachine should be handled by the higher level client (the client that uses RaftClient for replication).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)