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/31 21:13:41 UTC
[jira] [Updated] (RATIS-62) Return the Exception from
StateMachine#preAppendTransaction to client as StateMachineException
[ https://issues.apache.org/jira/browse/RATIS-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated RATIS-62:
---------------------------
Summary: Return the Exception from StateMachine#preAppendTransaction to client as StateMachineException (was: Wrap the Exception thrown by StateMachine#preAppendTransaction as StateMachineException and return the exception in RaftClientReply)
> Return the Exception from StateMachine#preAppendTransaction to client as StateMachineException
> ----------------------------------------------------------------------------------------------
>
> Key: RATIS-62
> URL: https://issues.apache.org/jira/browse/RATIS-62
> Project: Ratis
> Issue Type: Bug
> Reporter: Jing Zhao
>
> This is a TODO in RaftServerImpl#appendTransaction. The IOException thrown by {{applyLog}} is actually from the {{StateMachine#preAppendTransaction}}. This exception should be return to RaftClient as a {{StateMachineException}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)