-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
br: add error into retry list when backup #34930
Conversation
Signed-off-by: joccau <zak.zhao@pingcap.com>
Signed-off-by: joccau <zak.zhao@pingcap.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. |
/cc @YuJuncen @fengou1 @3pointer @WangLe1321 PTAL |
@joccau: GitHub didn't allow me to request PR reviews from the following users: PTAL. Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs. 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 kubernetes/test-infra repository. |
/run-integration-br-test |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/2e4b5b16d20b4ca1c404a0a8dfcffac2e89d00c7 |
/run-integration-br-test |
/LGTM |
/run-integration-br-test |
Signed-off-by: joccau <zak.zhao@pingcap.com>
/run-integration-br-test |
@@ -24,6 +24,7 @@ var retryableServerError = []string{ | |||
"error during dispatch", | |||
"put object timeout", | |||
"internalerror", | |||
"not read from or written to within the timeout period", |
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.
I think maybe we should add some retry even we meet the error not in the list.
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.
For safety, add this error into list currenty, I suggest.
But we add the logic(wait and retry the operation(backup and retry)) into master branch until the work is stable and safe.
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 |
This pull request has been accepted and is ready to merge. Commit hash: 4a58be6
|
/run-mysql-test |
/merge |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.4 in PR #34983 |
What problem does this PR solve?
Issue Number: close #34865
Problem Summary:
What is changed and how it works?
br need to retry backup region when br received the specific error from TiKV when TiKV write sst-file to storage.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.