-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
TiDB panic when running sysbench oltp_read_write #30140
Comments
Seems introduced by tikv/client-go#368, |
/assign |
Hi @dbsid, thanks for your feedback. I tried to reproduce this panic but failed, can you reproduce this case stably? If so, please provide your more detailed background, such as the way to deploy TiDB, full command of your sysbench execution, etc. Thanks! |
@mornyx I can easily reproduce this problem. I'm running a 1 TiKV + 1 TiDB cluster deployed using TiUP. My sysbench command is like: The panic happens so frequently that I cannot finish any benchmark. Hope it will be resolved soon. |
Thanks for this information, I'm solving. |
I encountered this by:
|
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
I have removed the code that may cause a panic, and now the master branch should no longer panic. cc @dbsid @sticnarf @wjhuang2016 @Tammyxia I reproduced this panic locally with go1.16. The reason for not reproducing before is that I used go1.17 locally. There are some differences between the two versions that make the phenomenon different. At present, I suspect that this difference is caused by register-based calling convention, which is interesting. I will continue to figure out this question, and if I have a conclusion, I will write it here. |
We got another index out of range panic after this fix while running tpcc.
|
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
running oltp_read_write with 32 tables each with 10,000,000 rows
2. What did you expect to see? (Required)
no panic
3. What did you see instead (Required)
tidb panic
4. What is your TiDB version? (Required)
latest nightly build
The text was updated successfully, but these errors were encountered: