Skip to content
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

Invalid key error when adding a uk on a table containing duplicate keys #44439

Closed
tangenta opened this issue Jun 6, 2023 · 0 comments · Fixed by #44442
Closed

Invalid key error when adding a uk on a table containing duplicate keys #44439

tangenta opened this issue Jun 6, 2023 · 0 comments · Fixed by #44442
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@tangenta
Copy link
Contributor

tangenta commented Jun 6, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Add unique index on a table that containing duplicate keys.

2. What did you expect to see? (Required)

Report duplicated entry error.

3. What did you see instead (Required)

ERROR 8221 (HY000): invalid key - "7480000000000000b95f698000000000000001038000000000000001"

4. What is your TiDB version? (Required)

50fb9a7

@tangenta tangenta added type/bug The issue is confirmed as a bug. severity/moderate labels Jun 6, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jun 6, 2023
@tangenta tangenta added the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant