-
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
store/mockstore: Some wg.Wait()
operations may block forever
#26805
Comments
@sticnarf PTAL, is it a bug, thanks |
Hi there, kindly ask do we have any update on this PR? |
I don't have ideas about how this really happens at this time... The mockstore is only used in tests instead of production. Probably these forever Sorry, I'm afraid we will not spend much time investigating the issue unless it greatly affects daily development by decreasing the test success rate. |
The issue has not been updated for too long, so I will close it. If there are any updates, you can reopen it. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
We found 2 blocking bugs through a WIP Fuzzing project by system-pclub, PSU.
2. What did you expect to see? (Required)
The
wg.Wait()
operation shall not block forever whatever the order of the concurrent messages.3. What did you see instead (Required)
We found the 2 bugs by fuzzing the code from entry point:
tidb/ddl/ddl_test.go
Line 60 in fa71a0e
Wait()
in functionacquireOne
attidb/store/mockstore/unistore/tikv/region.go
Lines 107 to 111 in fa71a0e
Wait()
in functionWrite
attidb/store/mockstore/unistore/tikv/write.go
Lines 227 to 233 in fa71a0e
4. What is your TiDB version? (Required)
branch: master
commit: 7e6690d
The text was updated successfully, but these errors were encountered: