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所示;
   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

Reply via email to