-
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
index out of range [0] with length 0 when using prepare plan cache #19192
Comments
/label sig/execution |
Minimal reproduced:
|
PTAL @SunRunAway |
@eurekaka PTAL |
Besides, tidb-server is needed to be avoided to be killed by this panic. |
Integrity check: |
Please edit this comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA)If a query raises error before storing its plan into 2. SymptomWhen plan cache is enabled, users may see panic for a query. 3. All Trigger Conditions
4. Workaround (optional)Disable plan cache. 5. Affected versionsunreleased 6. Fixed versionsv4.0.8 |
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
new_collations_enabled_on_first_bootstrap = true
prepared-plan-cache.enabled = true
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
SIG slack channel
#sig-exec
Score
Mentor
The text was updated successfully, but these errors were encountered: