DDL: Use Column Name Instead of Offset to Find the common handle cluster index (#5166)#5192
DDL: Use Column Name Instead of Offset to Find the common handle cluster index (#5166)#5192ti-chi-bot wants to merge 5 commits intopingcap:release-6.0from
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
[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. |
|
@ti-chi-bot: This cherry pick PR is for a release branch and has not yet been approved by release team. To merge this cherry pick, it must first be approved by the collaborators. AFTER it has been approved by collaborators, please ping the release team in a comment to request a cherry pick review. 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. |
|
/rebuild |
fix merge master error
fix format error
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
@hongyunyan: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. DetailsIn 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 ti-community-infra/tichi repository. |
|
close as no plan for v6.0.1 |
This is an automated cherry-pick of #5166
What problem does this PR solve?
Issue Number: close #5154
Problem Summary:
What is changed and how it works?
in decodingSchemaSnapshot, we use column name instead of offset to find cluster index id of the common handle. Because in tiflash, we don't update the indexinfo of table_info except rename ddl action. Thus, the offset of tidb_table_info is not correctly in sometimes.
Besides, I add two DDL tests based on issue #5154, concerning about clustered index.
Check List
Tests
Side effects
Documentation
Release note