-
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
Restore failed with foreigh key table when ddl-batch-size=1 #51838
Comments
The reason is when doing sequential create table. TiDB has a check. which ask Lines 195 to 220 in b3cb95d
But the restore table's state is |
A workaround for restore is don't set ddl-batch-size to 1 |
If restore cluster is stuck now. and the workaround should be
|
close #51838
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
--ddl-batch-size=1
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v6.5 or later(include master)
The text was updated successfully, but these errors were encountered: