[jira] [Updated] (RATIS-62) Return the Exception from StateMachine#preAppendTransaction to client as StateMachineException

2017-03-31 Thread Jing Zhao (JIRA)

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

Jing Zhao updated RATIS-62:
---
Attachment: RATIS-62.000.patch

Upload the patch.

> 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
>Assignee: Jing Zhao
> Attachments: RATIS-62.000.patch
>
>
> 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)


[jira] [Updated] (RATIS-62) Return the Exception from StateMachine#preAppendTransaction to client as StateMachineException

2017-03-31 Thread Jing Zhao (JIRA)

 [ 
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)