-
Notifications
You must be signed in to change notification settings - Fork 411
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
Decode error when "NULL" value in the column with "primary key" flag #5859
Labels
affects-4.0
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Comments
JaySon-Huang
added
type/bug
The issue is confirmed as a bug.
affects-4.0
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
severity/major
component/storage
labels
Sep 13, 2022
This was referenced Sep 14, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Sep 16, 2022
This was referenced Sep 16, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Sep 16, 2022
This was referenced Sep 16, 2022
This was referenced Sep 16, 2022
JaySon-Huang
added a commit
to ti-chi-bot/tiflash
that referenced
this issue
Sep 20, 2022
JaySon-Huang
added a commit
to ti-chi-bot/tiflash
that referenced
this issue
Sep 26, 2022
ti-chi-bot
added a commit
that referenced
this issue
Sep 26, 2022
JaySon-Huang
added a commit
to ti-chi-bot/tiflash
that referenced
this issue
Sep 26, 2022
ti-chi-bot
added a commit
that referenced
this issue
Sep 26, 2022
JaySon-Huang
added a commit
to ti-chi-bot/tiflash
that referenced
this issue
Sep 26, 2022
ti-chi-bot
added a commit
that referenced
this issue
Sep 26, 2022
ti-chi-bot
added a commit
that referenced
this issue
Sep 26, 2022
JaySon-Huang
pushed a commit
to JaySon-Huang/tiflash
that referenced
this issue
Sep 27, 2022
JaySon-Huang
pushed a commit
to JaySon-Huang/tiflash
that referenced
this issue
Sep 27, 2022
12 tasks
JaySon-Huang
added a commit
that referenced
this issue
Oct 31, 2022
* DDL: Use Column Name Instead of Offset to Find the common handle cluster index (#5166) (#5191) close #5154 * tests: Fix RegionBlockReaderTest helper functions (#5899) (#5924) ref #5859 * Fix decode error when "NULL" value in the column with "primary key" flag (#5879) (#5932) close #5859 Co-authored-by: Ti Chi Robot <[email protected]>
Fixed in 5.4.3/6.1.2/6.3.0 and later versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-4.0
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
component/storage
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
TiFlash assumes all values in the column with "primary key" flag are non-null value.
tiflash/dbms/src/Storages/Transaction/RowCodec.cpp
Lines 323 to 330 in 6d0cbc8
However, users could create such "NULL" value in the "primary key" column by following steps
2. What did you expect to see? (Required)
No exception thrown
3. What did you see instead (Required)
Exception throw with "Parameter out of bound in IColumnString::insertRangeFrom method" in v4.0.x/v5.0.x/v5.1.x/v5.2.x/v5.3.x/v5.4.0~v5.4.1/v6.1.0
Exception message after v5.4.2/v6.1.1/v6.2.0
4. What is your TiFlash version? (Required)
v5.4.1
The text was updated successfully, but these errors were encountered: