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

adding unique index reports "duplicate entry" unexpectedly #56161

Closed
tangenta opened this issue Sep 19, 2024 · 0 comments · Fixed by #56162
Closed

adding unique index reports "duplicate entry" unexpectedly #56161

tangenta opened this issue Sep 19, 2024 · 0 comments · Fixed by #56162
Labels
affects-6.5 affects-7.1 affects-7.5 affects-8.1 component/ddl This issue is related to DDL of TiDB. report/customer Customers have encountered this bug. severity/major type/bug The issue is confirmed as a bug.

Comments

@tangenta
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Start a workload that contains DMLs(like REPLACE INTO) on the target table.
  2. Add a unique index.

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

No error.

3. What did you see instead (Required)

Duplicate entry '?' for key 'idx'

4. What is your TiDB version? (Required)

c13eb90

@tangenta tangenta added type/bug The issue is confirmed as a bug. severity/major labels Sep 19, 2024
@tangenta tangenta changed the title Adding unique index reports "duplicated entry" unexpectedly adding unique index reports "duplicated entry" unexpectedly Sep 19, 2024
@tangenta tangenta changed the title adding unique index reports "duplicated entry" unexpectedly adding unique index reports "duplicate entry" unexpectedly Sep 19, 2024
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label Sep 20, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in 083722a Sep 20, 2024
@ti-chi-bot ti-chi-bot bot added the report/customer Customers have encountered this bug. label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 affects-7.5 affects-8.1 component/ddl This issue is related to DDL of TiDB. report/customer Customers have encountered this bug. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants