WillemJiang commented on a change in pull request #77: add saga quick start URL: https://github.com/apache/servicecomb-docs/pull/77#discussion_r243743650
########## File path: saga-reference/zh_CN/quickstart.md ########## @@ -0,0 +1,69 @@ +# Apache ServiceComb Pack +Apache ServiceComb Pack QuickStart +saga-servicecomb-demo中的Saga代码解读 + +## 全局事务执行过程 + +在SagaStartAnnotationProcessor +Annotation被触发 +1 当Request发送请求 +2 调用preIntercept 发送 SagaStartedEvent 开始事务 +3 调用postIntercept 发送 SagaEndedEvent 事务结束执行 + +compensableAnnotationProcessor执行补偿 Review comment: 这个只是Omega静态分析过程中处理相关的代码,和补偿怎么执行没有关系。 ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
