luky116 commented on code in PR #739:
URL:
https://github.com/apache/incubator-seata-go/pull/739#discussion_r1894610113
##########
pkg/datasource/sql/datasource/base/meta_cache.go:
##########
@@ -92,7 +110,7 @@ func (c *BaseTableMetaCache) refresh(ctx context.Context) {
for i := range v {
tm := v[i]
- if _, ok := c.cache[tm.TableName]; !ok {
+ if _, ok := c.cache[tm.TableName]; ok {
Review Comment:
这里是不是都得去刷新,而不用去判断原来是否存在?
--
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]