Closed lhy1024 closed 4 days ago
CI can find the data race problem, but it's strange why it hasn't been found in two weeks.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: HuSharp, rleungx
The full list of commands accepted by this bot can be found here.
The pull request process is described here
In response to a cherrypick label: new pull request created to branch release-8.2
: #8341.
CI can find the data race problem, but it's strange why it hasn't been found in two weeks.
fixed in https://github.com/tikv/pd/pull/8342
What problem does this PR solve?
Issue Number: Close #8335
Before #8164 it is
What is changed and how does it work?
Check List
Tests
Unit test
Test1: This test will meet data race in master and is normal in this PR.
--- FAIL: TestIsHot (0.00s) /home/lhy1024/pd/pkg/statistics/hot_cache_test.go:34: Error Trace: /home/lhy1024/pd/pkg/statistics/hot_cache_test.go:34 Error: Should be true Test: TestIsHot FAIL