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

引入熔断器后导致全局事务XID无法向下游传递,全局事务失效 #6

Open
you071012 opened this issue Jun 6, 2023 · 0 comments

Comments

@you071012
Copy link
Collaborator

初步怀疑原因是因为熔断器隔离策略导致
熔断器有线程池隔离、信号量隔离两种策略,默认线程池隔离。当feign调用时会开启新的线程,导致线程上下文无法获取xid。

预期修改方式:

  1. 修改使用信号量隔离
  2. 调用feign时手动设置header
  3. // todo 具体解决方式待实现
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

1 participant