loveoobaby commented on issue #563: pack问题汇总反馈 URL: https://github.com/apache/servicecomb-pack/issues/563#issuecomment-535294367 > > RPC次数较多:每个分支有两次请求,加上开启与提交,如果有n个分支,SAGA RPC次数是2n+2,TCC是3n+2。我们觉得实在太多了,可以砍掉一部分。我们假定大部分情况下分布式事务是成功的,如果成功率太低,这个接口没有意义。所以,对于分支事务开始会发RPC请求,但结束时不会,除非发生异常会进行RPC请求。这样一个事务正常情况下,SAGA变为n+2,TCC变为2n+2; > > 如果不发送结束请求的话,如何判断事务是正常结束还是已经超时?在超时的情况下,现在的框架是要进行回滚的。 砍RPC这是我参考蚂蚁金服TCC的做法
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
