-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: separate auto_increment ID from row ID #28448
Conversation
[REVIEW NOTIFICATION] This pull request has not been approved. 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. Reviewer can indicate their review by submitting an approval review. |
@tangenta please fix conflict and linters complain. |
@tangenta: PR needs rebase. 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 kubernetes/test-infra repository. |
@tangenta: The following tests failed, say
Full PR test history. Your PR dashboard. 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 kubernetes/test-infra repository. I understand the commands that are listed here. |
Long stale and large conflict. Closing to reduce noise. |
What problem does this PR solve?
Issue Number: close #982
Problem Summary: before this PR, auto_increment ID and
_tidb_rowid
share the same key-value. The problem is any action that affectsauto_increment
column also has an impact on_tidb_rowid
. For example,The first insert statement forces auto_increment ID rebase to
9223372036854775807
. Even if the second insert statement does not trigger auto_increment ID allocation, TiDB throws an "Failed to read" error because the_tidb_rowid
allocator is exhausted.What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Check List
Tests
Side effects
Documentation
Release note