Closed WXingSong closed 2 months ago
This is my demo https://github.com/WXingSong/sharding-seata-simple-demo.git @linghengqian The same problem with #31715. Perform unit testing on the Seata integration module of ShardingSphere in the multi-microservice scenario.
version:
Sharding-jdbc: 5.5.0 Seata: 2.0.0 druid: 1.2.21 Springboot 3.2.1 spring cloud alibaba 2022.0.0.0
I also have the same problem with #31715
This is the execution result
SeataTestServiceImplA
SeataTestServiceImplB
I found that the connection used by SeataTestImplB when executing SQL is not Seata's
ConnectionProxy
, and branch transactions were not registered usingConnectionProxy#processGlobalTransactionCommit()
. But I'm not sure if this is the reason why distributed transactions cannot be rolled back.linghengqian no time check it😂. I really need your help very much @TherChenYang .Thanks~