-
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
Encounter Duplicated entry error after pitr with non-primary-key table. #46520
Comments
/label component/br |
@BornChanger: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@BornChanger: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
the issue may related to #46578 if the table is not using |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
tiup playground --tiflash=0
_tidb_rowid
)e.g.
create table test.test(id int);
alter table test.test auto_increment=90001; insert into test.test values();
table_id
increased. so that next time restore will rewrite table prefix.next_row_id
for table:show table test.test next_row_id
.2. What did you expect to see? (Required)
3. What did you see instead (Required)
_tidb_rowid
not updated. one workaround is usealter table test.test auto_increment=120001;
to set it correctly.4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: