-
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
*: remove useless cache in the MergePartitionStats2GlobalStats #47217
Conversation
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #47217 +/- ##
================================================
- Coverage 72.9862% 72.4661% -0.5201%
================================================
Files 1340 1367 +27
Lines 400251 411355 +11104
================================================
+ Hits 292128 298093 +5965
- Misses 89191 94402 +5211
+ Partials 18932 18860 -72
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
} | ||
|
||
for i := 0; i < globalStats.Num; i++ { | ||
// GetStatsInfo will return the copy of the statsInfo, so we don't need to worry about the memory problem. |
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.
What "memory problem"? Please be a bit more specific.
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.
I have updated. it has been changed as data race
.
/ok-to-test |
/test all |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: time-and-fate, winoros The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/hold |
/unhold |
/retest |
What problem does this PR solve?
Issue Number: ref #47219
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.