[
https://issues.apache.org/jira/browse/SCB-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei Zhang resolved SCB-1627.
----------------------------
Resolution: Fixed
> Wait for compensation feedback after Alpha calls compensation
> -------------------------------------------------------------
>
> Key: SCB-1627
> URL: https://issues.apache.org/jira/browse/SCB-1627
> Project: Apache ServiceComb
> Issue Type: Sub-task
> Components: Saga
> Reporter: Lei Zhang
> Assignee: Lei Zhang
> Priority: Major
> Fix For: pack-0.6.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Send a compensation ack to Alpha in the compensation method on the Omega
> side. Alpha waits for compensation result and catching exception after
> calling compensation method
> 1. Received TxCompensateSucceedAckEvent: transaction completed
> 2. Received TxCompensateFailedAckEvent: throw new CompensateAskFailedException
> 3. Catch other exception and throw new CompensateConnectException
--
This message was sent by Atlassian Jira
(v8.3.4#803005)