xs-sun opened a new issue, #8095:
URL: https://github.com/apache/incubator-seata/issues/8095

   ### Check Ahead
   
   - [x] I have searched the [issues](https://github.com/seata/seata/issues) of 
this repository and believe that this is not a duplicate.
   
   - [x] I am willing to try to fix this bug myself.
   
   
   ### Ⅰ. Issue Description
   
   <img width="824" height="571" alt="Image" 
src="https://github.com/user-attachments/assets/1b188748-ccf3-4587-8784-322218efe3d5";
 />
   
我在AT模式中遇到AT模式性能问题,每个sql进行更新或插入操作时,构造undolog时,都会去获取tableMata,但是,获取tableMata前会先或tableName,当tableMata有缓存时,这里为什么要先获取tableName再去判断是否有tableMata,而不是直接判断tableMata
 != null ?
   
   ### Ⅱ. Describe what happened
   
   _No response_
   
   ### Ⅲ. Describe what you expected to happen
   
   这样会导致当有tableMata时,会先获取tableName,再判断是否为空。平白浪费时间。我测试发现获取tableName也挺耗时的
   
   ### Ⅳ. How to reproduce it (as minimally and precisely as possible)
   
   _No response_
   
   ### Ⅴ. Anything else we need to know?
   
   _No response_
   
   ### Ⅵ. Environment
   
   _No response_


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