-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
meta: fix the allocator batch size compute logic (#17271) #17548
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
/run-all-tests |
/run-mybatis-test |
1 similar comment
/run-mybatis-test |
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.
Any conflicts? Please list them.
conflict files
|
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
/merge |
/run-all-tests |
cherry-pick #17271 to release-3.0
What problem does this PR solve?
Problem Summary: fix logic in allocator batch size computation
What is changed and how it works?
What's Changed:
when the local cache size if not enough for allocN, do the new batchSize computation based on the global new base in the txn.
so we postpone the NextStep adjustment to meta txn and store it after that.
Related changes
Check List
Tests
Release note