-
Notifications
You must be signed in to change notification settings - Fork 720
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
checker: judging that the peer is down is no longer based on DownSeconds #4078
Conversation
Signed-off-by: HunDunDM <hundundm@gmail.com>
[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. Reviewer can indicate their review by submitting an approval review. |
does it break compatibility? |
Signed-off-by: HunDunDM <hundundm@gmail.com>
/merge |
@nolouch: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests 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. |
@nolouch: 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 ti-community-infra/tichi repository. |
/merge |
@nolouch: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests 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. |
This pull request has been accepted and is ready to merge. Commit hash: 0fdb1e1
|
/rebuild |
1 similar comment
/rebuild |
Codecov Report
@@ Coverage Diff @@
## master #4078 +/- ##
==========================================
+ Coverage 74.67% 74.69% +0.02%
==========================================
Files 258 258
Lines 26088 26084 -4
==========================================
+ Hits 19481 19484 +3
+ Misses 4877 4873 -4
+ Partials 1730 1727 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created: #4081. |
In response to a cherrypick label: new pull request created: #4082. |
In response to a cherrypick label: new pull request created: #4083. |
In response to a cherrypick label: new pull request created: #4084. |
…nds (tikv#4078) * checker: judging that the peer is down is no longer based on DownSeconds Signed-off-by: HunDunDM <hundundm@gmail.com> * address comment Signed-off-by: HunDunDM <hundundm@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
…nds (#4078) (#4178) * checker: judging that the peer is down is no longer based on DownSeconds Signed-off-by: HunDunDM <hundundm@gmail.com> * address comment Signed-off-by: HunDunDM <hundundm@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
…nds (tikv#4078) * checker: judging that the peer is down is no longer based on DownSeconds Signed-off-by: HunDunDM <hundundm@gmail.com> * address comment Signed-off-by: HunDunDM <hundundm@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: HunDunDM hundundm@gmail.com
What problem does this PR solve?
Fix #4077 #4027
After #3462,
DownSeconds
no longer update with the heartbeat. It will cause the down-peer to not be repaired in time.What is changed and how it works?
Judging that the peer is down is no longer based on
DownSeconds
.Check List
Tests
Code changes
Side effects
DownSeconds
. In extreme cases, down-peers that would not have been processed will be fixed.Related changes
Release note