You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/11/22 09:25:06 UTC
[GitHub] WillemJiang commented on issue #340: Saga嵌套事务支持,及如何实现前向恢复(重试)的处理
WillemJiang commented on issue #340: Saga嵌套事务支持,及如何实现前向恢复(重试)的处理
URL: https://github.com/apache/servicecomb-saga/issues/340#issuecomment-440965974
For the second question:
For the forward recovery, Omega just call the transaction method again if it gets the exception. You can configure it from the [Compensable](https://github.com/apache/servicecomb-saga/blob/master/omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/annotations/Compensable.java) annotation; for the backward recovery, Omega just call the compensation method for you., you can configure it on the [Compensable](https://github.com/apache/servicecomb-saga/blob/master/omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/annotations/Compensable.java) annotation.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services