copr: support choose non pending tiflash peer when dispatch MPPTask#44222
copr: support choose non pending tiflash peer when dispatch MPPTask#44222guo-shaoge wants to merge 1 commit intopingcap:masterfrom
Conversation
Signed-off-by: guo-shaoge <shaoge1994@163.com>
|
[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. |
|
Wait tikv/client-go#821 merge first |
| // 1. Use `nonPendingStores` to avoid wait replica sync done. | ||
| // 2. Refresh region cache if still have pending peer. | ||
| allStores = nonPendingStores | ||
| if len(allStores) != len(nonPendingStores) { |
There was a problem hiding this comment.
they are always equal because they are the same slice.
|
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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
will fix later |
|
@guo-shaoge: The following test 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. |
|
@guo-shaoge: 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-sigs/prow repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: close #44221
Problem Summary: As issue said, we want to consider tiflash replica pending status when dispatch MPPTask
What is changed and how it works?
allStores.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.