-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Util: Fix global tracker mutex contention (#16298) #17234
Util: Fix global tracker mutex contention (#16298) #17234
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
Please resolve the conflicts, @Yisaer . |
Util: Fix global tracker mutex contention
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
/rebuild |
Conflict fixed, but I can't edit the release-note. |
/run-unit-test |
LGTM |
/run-check_dev |
/run-unit-test |
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
/run-check_dev |
This comment has been minimized.
This comment has been minimized.
1 similar comment
/run-unit-test |
/approve |
Approve failed. |
/approve |
Approve failed. |
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 |
/run-unit-test |
This comment has been minimized.
This comment has been minimized.
@sre-bot merge failed. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
/run-unit-test |
/run-unit-test |
cherry-pick #16298 to release-4.0
What problem does this PR solve?
For the Global Tracker, the Attaching and Detaching would cause the mutex contention which would decrease the qps.
Issue Number: close #16258
Problem Summary:
What is changed and how it works?
How it Works:
Import the Global function in the Tracker. It remove the logic to maintain the children to avoid mutex contention
Related changes
Check List
Tests
Release note