incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

全局事务入口方法在 tcc接口实现类导致全局事务开启失败

Open hailiangyuan opened this issue 1 year ago • 3 comments

Ⅰ. Issue Description

全局事务入口方法在 tcc接口实现类导致全局事务开启失败

Ⅱ. Describe what happened

Just paste your stack trace here!

image image 把事务入口单独抽一个bean就可以正常开启事务 image

Ⅵ. Environment:

  • JDK version(e.g. java -version): 8
  • Seata client/server version: 1.5.2
  • Database version: 5.7.1
  • OS(e.g. uname -a): windows
  • Others:

hailiangyuan avatar Jan 18 '24 09:01 hailiangyuan

seata 1.5.2 can't meet the situation, only generate tcc proxy. 2.0 have resolved the problem.

laywin avatar Jan 19 '24 15:01 laywin

这个问题社区已经发现,是因为proxyparser发现其中一个注解时就返回,没有考虑有多层注解,需要多层代理的情况 The problem community has discovered that proxyparser returns one of the annotations when it finds it, regardless of the multiple layers of annotations. Cases where a multi-tier agent is required

funky-eyes avatar Jan 19 '24 18:01 funky-eyes

谢谢tks

hailiangyuan avatar Jan 20 '24 01:01 hailiangyuan