-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimize: optimize the reload during startup in file mode #3215
optimize: optimize the reload during startup in file mode #3215
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #3215 +/- ##
=============================================
- Coverage 51.11% 51.00% -0.11%
+ Complexity 3297 3257 -40
=============================================
Files 614 609 -5
Lines 20125 20044 -81
Branches 2514 2507 -7
=============================================
- Hits 10287 10224 -63
+ Misses 8806 8798 -8
+ Partials 1032 1022 -10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
optimize: opt the reload during startup in file mode.
优化TC的文件模式,在启动过程中重载文件到内存中的操作。
避免因为一些已完成的全局事务数据堆积太多,导致启动过程中内存溢出了。
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews