xiaoxiangyeyu0 commented on issue #7690:
URL: 
https://github.com/apache/incubator-seata/issues/7690#issuecomment-3395661101

   经过mysql5.7验证,151行和152行之间也不能调用xaEnd方法,因为一阶段执行close方法会调用XA END 'xxx'和XA 
PREPARE ‘xxx’,然后在cleanXABranchContext方法里面把xaEnded置为false,再次执行xaEnd就会报下面的错。
   所以能不能直接把166行去掉,但我不知道当时做合并事务功能加上这一行的目的是什么?
   
   <img width="1361" height="354" alt="Image" 
src="https://github.com/user-attachments/assets/3c0700a7-08e6-4fa3-bed1-f8b19f78ad33";
 />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to