beanww commented on issue #7686:
URL: 
https://github.com/apache/incubator-seata/issues/7686#issuecomment-3388471805

   你们好!我已经试了2.4版本,似乎还是有些问题:
   
   验证时没有使用@Transactional注解:
   
   首先,日志中显示似乎有join事务的处理了:
   2025-10-10 14:24:37.098 |  INFO 8308 | 
http-nio-48081-exec-10 [TID: N/A] 
o.a.seata.tm.api.TransactionalTemplate   | join into a existing 
global transaction,xid=192.168.100.81:8091:3261279418629289739
   
   但是我发现pg的pending事务表pg_prepared_xacts,仍然有很多记录,然后,我就发现了一个问题:
   seata现在对于每一个select语句(即使没有for update),也会创建一个分支事务
   
   也就是说,现在的问题是:
   xa模式下,没有transactional注解时,怎么才能让select语句不产生分支事务呢?


-- 
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