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/31 01:34:44 UTC

[GitHub] [servicecomb-pack] Richhardbranson removed a comment on issue #643: 分布式事务优雅shut down服务问题

Richhardbranson removed a comment on issue #643: 分布式事务优雅shut down服务问题
URL: https://github.com/apache/servicecomb-pack/issues/643#issuecomment-605896342
 
 
   是否补偿成功在alfphaserver端怎么查看???
   是查看txEvent表 type = ‘TxAbortedEvent‘ 的。这个表没有状态呢?
   另外还有个诡异的事情,如果补偿被调用成功,logger.error是会被执行的吧。
   ``` java
   @Transactional
   	 @DtIdempotent
   	 public void cancel(UpdateUserCoinWalletReq req) {
   		 **logger.error("钱包【uid={},coinId={}】,撤销更新,globalTxId={}",  req.getUid()**,req.getCoinId(),req.getGlobalTxId()) ;
   		List<String> keys = new ArrayList<>();
   		List<String> argList = new ArrayList<>();
   		... ...
            }
   ``` 
   粗体的打印在日志中是看不到的。
   

----------------------------------------------------------------
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