airbaby edited a comment on issue #223: Dubbo事务补偿问题 URL: https://github.com/apache/incubator-servicecomb-saga/issues/223#issuecomment-405545510 您好,已经调整到dubbo2.6.1版本,按照提供的dubbo-demo内所有jar包版本保持不变。应该与dubbo版本无关,仍然存在如下问题: 1、 alpha-server-0.2.0-exec.jar 采用MySQL,会报一个错误; 如图3所示; ![1](https://user-images.githubusercontent.com/17855411/42814197-0b10404e-89f6-11e8-8bca-0884ebac7ee8.png) ![2](https://user-images.githubusercontent.com/17855411/42814210-176ad430-89f6-11e8-8752-5dfb2de5c006.png) ![3](https://user-images.githubusercontent.com/17855411/42814211-188d43a2-89f6-11e8-8085-00355a475b34.png) ![4](https://user-images.githubusercontent.com/17855411/42814215-18e70e78-89f6-11e8-8e01-d35a06f999ec.png) 2、CExceptionWhenAbAc 如图1和图2所示,b没有触发调用补偿方法(cancelRun)进行补偿; public void cancelRun(InvokeContext invokeContext) { LOG.info("B.cancel called"); doCancelBusi(); } 3、AExceptionWhenAb 如图4所示,b没有触发调用补偿方法(cancelRun); 4、其他Ab, AbBc,BExceptionWhenAb, BExceptionWhenAb, CExceptionWhenAbBc,因为有@Transactional所以会回滚正常; 问题:补偿方法未被触发?
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services