zhangchaoyanggit opened a new issue, #6219:
URL: https://github.com/apache/incubator-seata/issues/6219

   在业务方法中加入@GlobalTransactional注解后 业务中调用一个第三方接口,通过传递XID方式,在服务另一方设置XID来实现分布式事务   
但是通过feign的url调用方式实现,url实现本身走的就不是服务发现,不清楚为什么会触发seata的负载均衡,报了以下错误,
   No available service
   at io.seata.core.rpc.netty.AbstractNettyRemotingClient.loadBalance
   
   在seata文档FQA中有个类似问题 Q: 43 我按照操作配置了一下,并没有走入我的feign拦截器,直接报上面的错误.
   io.seata.common.exception.FrameworkException: No available service
   at 
io.seata.core.rpc.netty.AbstractNettyRemotingClient.loadBalance(AbstractNettyRemotingClient.java:265)
 ~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.core.rpc.netty.AbstractNettyRemotingClient.sendSyncRequest(AbstractNettyRemotingClient.java:141)
 ~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.tm.DefaultTransactionManager.syncCall(DefaultTransactionManager.java:95)
 ~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.tm.DefaultTransactionManager.begin(DefaultTransactionManager.java:53) 
~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.tm.api.DefaultGlobalTransaction.begin(DefaultGlobalTransaction.java:105)
 ~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.tm.api.TransactionalTemplate.beginTransaction(TransactionalTemplate.java:215)
 ~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.tm.api.TransactionalTemplate.execute(TransactionalTemplate.java:122) 
~[seata-all-1.4.2.jar:1.4.2]
   at 
io.seata.spring.annotation.GlobalTransactionalInterceptor.handleGlobalTransaction(GlobalTransactionalInterceptor.java:181)
 ~[seata-all-1.4.2.jar:1.4.2]


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to