-
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
TiKV panicked during query in a transaction #20027
Comments
/label sig/ddl |
/assign @ichn-hu |
Seems the information push down from [components/tidb_query/src/batch/runner.rs:132] executor_descriptors = [
tbl_scan { table_id: 55 columns { column_id: 1 tp: 3 collation: 63 column_len: 11 flag: 3 } columns { column_id: -1 tp: 8 column_len: 20 flag: 2 pk_handle: true } columns { column_id: -1 tp: 8 column_len: 20 flag: 2 pk_handle: true } },
tp: TypeSelection selection { conditions { tp: ScalarFunc children { tp: ScalarFunc children { tp: ColumnRef val: 8000000000000001 field_type { tp: 7 flag: 136 flen: 19 collate: 63 charset: "binary" } } sig: TimeIsNull field_type { tp: 8 flag: 128 flen: 1 collate: 63 charset: "binary" } } sig: UnaryNotInt field_type { tp: 8 flag: 128 flen: 1 collate: 63 charset: "binary" } } }, The table scan never fetches a column which type id is 7 standing for a |
/unassign @ichn-hu |
@zyguan @iosmanthus I tried to deploy a nightly cluster, but can't reproduce it, @iosmanthus would you please have a try again to see if you can reproduce it now?
|
I can reproduce it with tidb |
/assign @ichn-hu |
This issue is fixed by a0515bc on release-4.0, which is brought about by #20565 , it is now safe to close this issue. PTAL @lzmhhh123 |
This fix is found by git bisect, the script is attached bellow
|
Please edit this comment or add a new 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) (optional)2. Symptom (optional)3. All Trigger Conditions (optional)4. Workaround (optional)5. Affected versions6. Fixed versions |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
No error reported.
3. What did you see instead (Required)
tikv panicked with
4. What is your TiDB version? (Required)
release-4.0
The text was updated successfully, but these errors were encountered: