-
Notifications
You must be signed in to change notification settings - Fork 247
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
Retry for range exceed error #2774
Retry for range exceed error #2774
Conversation
eec9a08
to
46c5bd3
Compare
b7c05f2
to
1e38743
Compare
This reverts commit 1e38743.
adc7e2d
to
248892a
Compare
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
@v01dstar: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: v01dstar The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/run-all-tests tidb=release-6.1 tikv=release-6.1 pd=release-6.1 |
/run-all-tests tidb=release-6.1 tikv=release-6.1 pd=release-6.1 |
/cherry-pick master |
@shiyuhang0: new pull request created to branch 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. |
* print range * update version * retry once * RC2 * Revert "RC2" This reverts commit 1e38743. * opt * revert version
What problem does this PR solve?
TiSpark may set the wrong range to TiKV when using
FetchHandleRDD
. We have two guesses about this:What is changed and how it works?
Since it is hard to find the root cause, we just log it and retry once when this error occurs. We use client-java's splitRangeByRegion method to avoid exceeding the bound issue. It seems this method can split the range correctly.
Spark Plan