Skip to content

Inconsistent data after multi-schema change #61255

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

Open
tangenta opened this issue May 22, 2025 · 0 comments · May be fixed by #61250
Open

Inconsistent data after multi-schema change #61255

tangenta opened this issue May 22, 2025 · 0 comments · May be fixed by #61250
Assignees
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. component/ddl This issue is related to DDL of TiDB. impact/inconsistency incorrect/inconsistency/inconsistent severity/critical type/bug The issue is confirmed as a bug.

Comments

@tangenta
Copy link
Contributor

tangenta commented May 22, 2025

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t (id int, b int, c int, primary key(id) clustered);
insert into t values (1,1,1);

-- during backfill
delete from t where id = 1;
insert into t values (2,1,1);
delete from t where id = 2;

-- before merge
insert into t values (3, 1, 1);

alter table t add unique index b(b), add index c(c);
admin check table t;

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

ADMIN CHECK success.

3. What did you see instead (Required)

ADMIN CHECK fail.

4. What is your TiDB version? (Required)

2dce924

@tangenta tangenta added type/bug The issue is confirmed as a bug. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. labels May 22, 2025
@tangenta tangenta self-assigned this May 22, 2025
@tangenta tangenta linked a pull request May 22, 2025 that will close this issue
13 tasks
@jebter jebter added component/ddl This issue is related to DDL of TiDB. impact/inconsistency incorrect/inconsistency/inconsistent labels May 22, 2025
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. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. component/ddl This issue is related to DDL of TiDB. impact/inconsistency incorrect/inconsistency/inconsistent severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants