-
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
backup: fix retry of fine-grained backup (#43252) #43487
backup: fix retry of fine-grained backup (#43252) #43487
Conversation
Signed-off-by: hillium <yujuncen@pingcap.com>
Signed-off-by: hillium <yujuncen@pingcap.com>
Signed-off-by: hillium <yujuncen@pingcap.com>
Signed-off-by: hillium <yujuncen@pingcap.com>
Signed-off-by: hillium <yujuncen@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. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 1c9d29a
|
/retest |
1 similar comment
/retest |
This is an automated cherry-pick of #43252
What problem does this PR solve?
Issue Number: close #43236
Problem Summary:
We are using the
tikv.Backoffer
to implement retry. Which isn't so customizable hence we cannot fully control the printed error messages and back off duration.What is changed and how it works?
This PR added a new structure
RetryWithBackoffer
to adapt the retry logic with the TiDB backoffer logic, at the same time it has enhanced the error message.This PR will also increase the max retry time of fine-grained backup. The reason is simple: given it begins the fine-grained backup, there must be some problems in the cluster. We need to be more patient.
Check List
Tests
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.