[ 
https://issues.apache.org/jira/browse/SCB-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913178#comment-16913178
 ] 

Willem Jiang commented on SCB-1057:
-----------------------------------

We need to rethink about the retry implementation this time. 
It could be better we just fail the transaction if there is a timeout exception 
from Alpha side.


> check the TxEndedEvent is received before doing the compensate
> --------------------------------------------------------------
>
>                 Key: SCB-1057
>                 URL: https://issues.apache.org/jira/browse/SCB-1057
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Saga
>            Reporter: Hanwen.Huang
>            Priority: Major
>             Fix For: pack-0.5.0
>
>
> if timeout happens during the compensation method executing and the 
> compensate method was invoked before the compensation method is finished. 
> compensated failure happened.
> like [zhfeng|[https://github.com/zhfeng]] said, the alpha server needs to 
> check the TxEndedEvent is received before doing the compensate, it's great.
> hope it has a better way to solve that.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to