[cherry-pick] skip rebase auto id(#27199)#1424
[cherry-pick] skip rebase auto id(#27199)#1424ti-chi-bot merged 4 commits intopingcap:release-4.0from
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: ad52ce8 |
cherry-picking pingcap/tidb#27199
===
What problem does this PR solve?
Speed up create tables via omit a DDL job.
Problem Summary:
What is changed and how it works?
What's Changed: Remove all DDLs of rebasing autos.
How it Works: When creating table with
CreateTableWithInfo, TiDB has rebased the auto ids via the table info:https://github.com/pingcap/tidb/blob/a9cba7c8e8b6da512609863b56ee7265c06c50dc/ddl/ddl_api.go#L1924-L1937
It's no meaning for rebasing the auto ids again.
Check List
Tests
br_views_and_sequences)Release note