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 2020/03/06 15:07:28 UTC

[GitHub] [servicecomb-pack] WillemJiang commented on issue #636: 我看了一下设计文档,对 sagas 流程有一点疑问

WillemJiang commented on issue #636: 我看了一下设计文档,对 sagas 流程有一点疑问
URL: https://github.com/apache/servicecomb-pack/issues/636#issuecomment-595809706
 
 
   为了简化操作, C服务在执行的过程中需要保证其原子性, 这里我们可以通过Spring 提供的Transactional注解来保证。 当Omega发现Transaction end指令给Alpha的的时候Alpha重启, Omega的这个指令是会发送失败的, C服务的执行就会失败, 如果C服务有相关的数据库提交的, 那C服务是需要进行相关的回滚操作的。 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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