-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
unexpected 'Duplicate entry' when insert empty value #53329
Labels
Comments
In the full load, the value get from tikv is 0, while it should be 5000 |
Related to #46904 |
This is caused by #47892, after this commit, we keep using the old allocator after the rename operation.
|
This is a 'rename table & autoid' compatibility issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Create a function to force full load:
Then add these code to TestRenameTable
before
Then enable info schema cache by set
DefTiDBSchemaCacheSize
to 1002. What did you expect to see? (Required)
Test pass
3. What did you see instead (Required)
Duplicate entry '1' for key 't.PRIMARY' reported by
insert rename2.t values ()
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: