File tree 3 files changed +4
-0
lines changed
rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ Add changes here for all PR submitted to the 2.x branch.
77
77
- [[ #6793 ] ( https://github.com/apache/incubator-seata/pull/6793 )] fix npmjs conflicts
78
78
- [[ #6793 ] ( https://github.com/apache/incubator-seata/pull/6795 )] optimize the initialization logic for server meta
79
79
- [[ #6794 ] ( https://github.com/apache/incubator-seata/pull/6794 )] optimize NacosMockTest UT case
80
+ - [[ #6806 ] ( https://github.com/apache/incubator-seata/pull/6806 )] optimize ` tableMeta ` cache scheduled refresh issue
80
81
81
82
82
83
### refactor:
Original file line number Diff line number Diff line change 78
78
- [[ #6793 ] ( https://github.com/apache/incubator-seata/pull/6793 )] 修复 npmjs 依赖冲突问题
79
79
- [[ #6794 ] ( https://github.com/apache/incubator-seata/pull/6794 )] 优化 NacosMockTest 单测问题
80
80
- [[ #6793 ] ( https://github.com/apache/incubator-seata/pull/6795 )] 独立server的meta信息初始化逻辑
81
+ - [[ #6806 ] ( https://github.com/apache/incubator-seata/pull/6806 )] 优化` tableMeta ` 缓存定时刷新问题
81
82
82
83
83
84
### refactor:
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ static class TableMetaRefreshHolder {
135
135
}
136
136
} catch (Exception exx ) {
137
137
LOGGER .error ("table refresh error:{}" , exx .getMessage (), exx );
138
+ // Avoid high CPU usage due to infinite loops caused by database exceptions
139
+ lastRefreshFinishTime = System .nanoTime ();
138
140
}
139
141
}
140
142
});
You can’t perform that action at this time.
0 commit comments