-
Notifications
You must be signed in to change notification settings - Fork 728
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
server, client: add down_peer and pending_peer in region response #2429
Conversation
Signed-off-by: disksing <[email protected]>
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
/rebuild |
Signed-off-by: disksing <[email protected]>
Signed-off-by: disksing <[email protected]>
Signed-off-by: disksing <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
/run-all-tests |
@disksing merge failed. |
/merge |
2 similar comments
/merge |
/merge |
/run-all-tests |
@disksing merge failed. |
/run-all-tests |
@disksing merge failed. |
/run-all-tests |
@disksing merge failed. |
/run-cherry-picker |
/run-cherry-pick |
cherry pick to release-4.0 in PR #2443 |
) (#2443) * server: add down_peers and pending_peers in get_region response Signed-off-by: disksing <[email protected]> * update pd client Signed-off-by: disksing <[email protected]> * minor update Signed-off-by: disksing <[email protected]> * minor update Signed-off-by: disksing <[email protected]> * fix unstable test TestGetRegionByID (#2435) Signed-off-by: nolouch <[email protected]> Co-authored-by: disksing <[email protected]> Co-authored-by: ShuNing <[email protected]>
What problem does this PR solve?
TiDB needs to identify down and pending peers to first connect to good peer.
What is changed and how it works?
Check List
Tests
Side effects
Related changes
Release note