-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Open
Description
Check Ahead
-
I have searched the issues of this repository and believe that this is not a duplicate.
-
I am willing to try to fix this bug myself.
Ⅰ. Issue Description
TC下发回滚对应PG数据库是新连接的state为IDLE,在166行先xaEnd,PG驱动前置状态判断state不为ACTIVE会报错,导致一直回滚失败,mysql如果是新连接,驱动发送给数据库是命令是XA END 'xxx',也会报错。
解决方案:
去掉166行的xaEnd调用,放到151行和152行之间,如果是旧连接,先调用xaEnd

Ⅱ. Describe what happened
No response
Ⅲ. Describe what you expected to happen
No response
Ⅳ. How to reproduce it (as minimally and precisely as possible)
No response
Ⅴ. Anything else we need to know?
No response
Ⅵ. Environment
No response
Metadata
Metadata
Assignees
Labels
No labels