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 2019/01/29 01:42:45 UTC

[GitHub] WillemJiang edited a comment on issue #400: 我的Saga事务不能保证完整性

WillemJiang edited a comment on issue #400: 我的Saga事务不能保证完整性
URL: https://github.com/apache/servicecomb-pack/issues/400#issuecomment-458373458
 
 
   First one Saga transaction has some local transactions, any local transaction failure could case the Saga transaction status to be changed to failed.
   we use transactional to make sure the local transaction is executed atomically. If the local transaction is failed,  Spring will rollback the local transaction, Omega don't need to call the compensation method of this local transaction.  As the whole saga transaction is failed, Omega need to call the compensation method of other succeed local transaction.

----------------------------------------------------------------
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