moving_filter: fix data race with cache result (#6080)#6087
moving_filter: fix data race with cache result (#6080)#6087ti-chi-bot merged 2 commits intotikv:release-6.5from
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. |
Signed-off-by: lhy1024 <admin@liudos.us>
|
/merge |
|
@lhy1024: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 25cef0a |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## release-6.5 #6087 +/- ##
===============================================
- Coverage 75.65% 75.58% -0.08%
===============================================
Files 330 330
Lines 32961 32960 -1
===============================================
- Hits 24937 24913 -24
- Misses 5875 5895 +20
- Partials 2149 2152 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
This is an automated cherry-pick of #6080
What problem does this PR solve?
Issue Number: Close #6069
What is changed and how does it work?
after #5798 we use cache result in
median.Getto reduce memory, but it introduces a write operation inget, so we remove write op ingetfunction to avoid data race. And considering there is moregetthanadd, it still is valid to reduce memory and CPU time.Check List
Tests
Release note