*: separate auto_increment ID from row ID#28448
*: separate auto_increment ID from row ID#28448tangenta wants to merge 8 commits intopingcap:masterfrom
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. DetailsReviewer can indicate their review by submitting an approval review. |
|
@tangenta please fix conflict and linters complain. |
|
@tangenta: PR needs rebase. DetailsInstructions 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. DetailsInstructions 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_rowidshare the same key-value. The problem is any action that affectsauto_incrementcolumn 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_rowidallocator 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