-
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
lightning: fix incorrect _tidb_rowid allocator value after import for table with AUTO_ID_CACHE=1 (#46171) #46210
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
/lgtm |
/test pull-br-integration-test |
@D3Hunter: The specified target(s) for
Use In response to this:
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. |
/hold wait lightning ci |
@D3Hunter: No presubmit jobs available for pingcap/tidb@release-7.1-20230818-v7.1.1 In response to this:
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. |
/test pull-br-integration-test |
@D3Hunter: The specified target(s) for
Use In response to this:
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. |
/run-br-integration-test |
@D3Hunter: No presubmit jobs available for pingcap/tidb@release-7.1-20230818-v7.1.1 In response to this:
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. |
/run-integration-br-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1 similar comment
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/run-integration-br-test |
/test all |
@D3Hunter: No presubmit jobs available for pingcap/tidb@release-7.1-20230818-v7.1.1 In response to this:
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. |
/retest-required |
/run-integration-br-test |
1 similar comment
/run-integration-br-test |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release-7.1-20230818-v7.1.1 #46210 +/- ##
================================================================
Coverage ? 73.4315%
================================================================
Files ? 1202
Lines ? 376239
Branches ? 0
================================================================
Hits ? 276278
Misses ? 82307
Partials ? 17654 |
/unhold |
f40276e
into
pingcap:release-7.1-20230818-v7.1.1
This is an automated cherry-pick of #46171
What problem does this PR solve?
Issue Number: close #46100
Problem Summary:
since TiDB v6.5.0, we have separate id allocator for
_tidb_rowid
andauto_increment
id whenAUTO_ID_CACHE=1
, see #39041, andALTER TABLE x AUTO_INCREMENT=x
only works on the allocator ofauto_increment
in this case, but if the table have implicit_tidb_rowid
, we should update it's base too to make sure new insert works, else it will reportduplicate entry
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.