util: add lock for MergeBasicStats#38998
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 95b20e7 |
|
In response to a cherrypick label: new pull request created: #39040. |
TiDB MergeCI notify🔴 Bad News! [2] CI still failing after this pr merged.
|
This reverts commit d970c9b.
This reverts commit d970c9b.
What problem does this PR solve?
Issue Number: close #38994
Problem Summary:
What is changed and how it works?
Fix panic cause by concurrent map iteration and write in memory usage alarm by adding lock for MergeBasicStats
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.