-
Notifications
You must be signed in to change notification settings - Fork 118
fix backoff time #241
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
fix backoff time #241
Conversation
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
| new StatusRuntimeException( | ||
| Status.fromCode(Status.Code.UNAVAILABLE).withDescription(error.toString()))); | ||
| return true; | ||
| } else if (error.hasRegionNotFound()) { |
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.
region not found shall never happen
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.
Why
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
marsishandsome
left a comment
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
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-3.1 in PR #242 |
This reverts commit 7fe59ef.
Signed-off-by: Little-Wallace bupt2013211450@gmail.com
What problem does this PR solve?
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Related changes