You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW, I'm using SetEtcdClient in test, and there is also a data race in this function(L1333 and L810). We'd better deprecate SetEtcdClient, and replace it with a failpoint injection.
Bug Report
Please answer these questions before submitting your issue. Thanks!
Found by @lcwangchao 's great code review.
1. Minimal reproduce step (Required)
pkg/server/handler/tests/http_handler_test.go
.go test ./pkg/server/handler/tests -run TestSetLabelsConcurrentWithStoreTopology -race
2. What did you expect to see? (Required)
Test pass.
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
nightly
The text was updated successfully, but these errors were encountered: