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 2019/05/28 03:52:20 UTC

[GitHub] [servicecomb-pack] pengyu0929 opened a new issue #473: 使用Feign调用失败,显示global transaction has already aborted

pengyu0929 opened a new issue #473: 使用Feign调用失败,显示global transaction has already aborted
URL: https://github.com/apache/servicecomb-pack/issues/473
 
 
   现在有两个服务,分别为Booking和Car。在Booking服务上使用Feign调用Car的接口,结果出现
   `javax.transaction.InvalidTransactionException: Abort sub transaction b71ff002-3294-421b-a6b1-2161c8c9b46d because global transaction bf61f3b4-472f-4554-84d2-33584fc5f459 has already aborted.`
   在Booking服务上,我添加了`omega-transport-feign`的依赖。
   在调用Booking接口时,alpha记录SagaStartEvent事件,但是在使用Feign调用Car时,则记录了TxAborted事件,我想问下这是为什么?

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