Lei Zhang created SCB-1627: ------------------------------ Summary: 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 Fix For: pack-0.6.0
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)