-
Notifications
You must be signed in to change notification settings - Fork 288
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
schemaStorage: reduce memory usage and add unit tests #1115
Conversation
/run-integration-tests |
How about 10K tables? Maybe we should load the table schema lazily? Using the LRU strategy? |
The way to reduce memory usage in this PR is cheap and effective. |
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
LGTM |
/merge |
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #1115 +/- ##
================================================
+ Coverage 39.3036% 39.7103% +0.4066%
================================================
Files 112 112
Lines 11719 11740 +21
================================================
+ Hits 4606 4662 +56
+ Misses 6641 6605 -36
- Partials 472 473 +1 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #1127 |
Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
fix #1098
500 table created:

before this PR:
after this PR:

Check List
Tests
Release note