ddl: refine logic of OwnerCheckAllVersions#39070
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. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 7407a13 |
TiDB MergeCI notify🔴 Bad News! New failing [1] after this pr merged.
|
Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com
What problem does this PR solve?
cluster_info may return invalid TiDB info, in OwnerCheckAllVersions, it doesn't need to check the invalid TiDB info.
If two instances have the same address and port, we know that the one started earlier is invalid.
What is changed and how it works?
Don't check the invalid TiDB in OwnerCheckAllVersions
Check List
Tests
Pass the intergration_ddl test.
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.