Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-1622 Improve the transaction compensation mechanism
  3. SCB-1627

Wait for compensation feedback after Alpha calls compensation

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • pack-0.6.0
    • Saga
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              zhanglei Lei Zhang
              zhanglei Lei Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m