-
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 index out of range [4294967295] after long time tiup bench run #26832
Comments
PTAL @cfzjywxk |
@qw4990 it seems can not reproduce, and no obvious problem in code 😭 |
@vivid392845427 has reproduced similar panic in the test environment. |
run autotestcase as follow, the same tidb panic : tidb panic stack: goroutine 9034 [running]: |
Thanks @zyguan for the investigation. The root cause for this is:
If the parallel projection is used in the
In tidb, some operators will be executed concorrently and they may access the transaction memory buffer, it's needed to be handled carefully or we need to figure out a way to avoid such possible races. |
@Tammyxia hit this twice today while running tpcc.
|
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
A similar problem could happen if there are other parallel executors between |
Bug Report
1. Minimal reproduce step (Required)
run command
tiup bench tpcc --warehouses 10 --parts 10 run -T 128 -p "xxxxx" -D bench -U bencher
2. What did you expect to see? (Required)
tiup bench
runs smoothly and works fine.3. What did you see instead (Required)
TiDB is down and stderr outputs this
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: