-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: if status address already in use, return an error #15177
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15177 +/- ##
===========================================
Coverage ? 80.3849%
===========================================
Files ? 502
Lines ? 134030
Branches ? 0
===========================================
Hits ? 107740
Misses ? 17836
Partials ? 8454 |
How to avoid the rolling upgrade failure? |
@jackysp |
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
LGTM |
/merge |
Your auto merge job has been accepted, waiting for 15425 |
/run-all-tests |
@zimulala merge failed. |
/merge |
/run-all-tests |
@zimulala merge failed. |
/run-unit-test /run-integration-common-test |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.0 in PR #15466 |
It seems that, not for sure, we failed to cherry-pick this commit to release-3.1. Please comment '/run-cherry-picker' to try to trigger the cherry-picker if we did fail to cherry-pick this commit before. @zimulala PTAL. |
/run-cherry-picker |
cherry pick to release-3.1 in PR #16291 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
What problem does this PR solve?
If the status address already in use, we only log it. We don't know why the status server is unavailable except by looking at the logs.
If we don't start the status server, we can set
report-status
to false.What is changed and how it works?
If the status address already in use, we return an error and interrupt the service.
Check List
Tests
Related changes
Release note