Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码中feign客户端不抛出异常,且分布式事务seata不生效 #5214

Closed
cucumberjason opened this issue Aug 3, 2023 · 0 comments

Comments

@cucumberjason
Copy link

cucumberjason commented Aug 3, 2023

版本号:

3.5.3

前端版本:vue3版?还是 vue2版?
问题描述:

测试源码中jeecg-cloud-test-seata模块时出现问题
问题一:测试余额不足接口时,account账户服务抛出RuntimeException异常,但是调用方order订单服务中feignClient没有感知到提供方的异常(不抛出feignException异常),直接执行了后面的代码,返回下单成功,分布式事务不回滚。
问题二:在order订单服务中,手动抛出RuntimeException异常,分布式事务不生效,product库存服务依然扣减库存没有回滚。

截图&代码:

问题一:
fdf7bcdbae367d4603ff0f8051ad226
4f6516086384c6271fcdd6b47a1a955
问题二:
61c2f8506516b2ef53fe27bcfd1f6da
6639391859a4d81518780c01366a6f1

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
@cucumberjason cucumberjason changed the title feign客户端不抛出异常,且分布式事务seata不生效 源码中feign客户端不抛出异常,且分布式事务seata不生效 Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants