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:12:41 UTC

[jira] [Created] (RATIS-62) Wrap the Exception thrown by StateMachine#preAppendTransaction as StateMachineException and return the exception in RaftClientReply

Jing Zhao created RATIS-62:
------------------------------

             Summary: Wrap the Exception thrown by StateMachine#preAppendTransaction as StateMachineException and return the exception in RaftClientReply
                 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)