-
Notifications
You must be signed in to change notification settings - Fork 222
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
When leader is selected as target peer at first, no other replicas could be retied for stale read #906
Comments
#916 fixed this issue, which wll fallback to follower read when leadder is unavailable. |
@cfzjywxk also made some changes in #910, which handles unavailable and rpc error. client-go/internal/locate/region_request.go Lines 627 to 641 in 979c489
|
@you06 Please close this issue if the master PR is merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the leader peer is first picked as the target with labels and it's unavailable because of some region errors, the replica selector would keep trying the leader peer but not recover though replica peers may be able to process this request successfully.
For example:
The text was updated successfully, but these errors were encountered: