We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the following case, suppose the region leader is in store1.
store1
ca = replicaSelectorAccessPathCase{ reqType: tikvrpc.CmdGet, readType: kv.ReplicaReadMixed, staleRead: true, timeout: time.Second, label: nil, accessErr: []RegionErrorType{DeadLineExceededErr, ServerIsBusyErr, ServerIsBusyErr},
No backoff.
expect: &accessPathResult{ accessPath: []string{ "{addr: store1, replica-read: false, stale-read: true}", "{addr: store2, replica-read: true, stale-read: false}", "{addr: store3, replica-read: true, stale-read: false}"}, regionIsValid: true, },
expect: &accessPathResult{ ... regionIsValid: false, },
The request has user-defined timeout 1s, the replica selector logic is:
ServerIsBusyErr
The expected result is doesn't invalidate region in cache, and the do fast retry without user-defined timeout.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue
1. Minimal reproduce step
In the following case, suppose the region leader is in
store1
.2. What did you expect to see?
No backoff.
3. What did you see instead?
The request has user-defined timeout 1s, the replica selector logic is:
ServerIsBusyErr
.ServerIsBusyErr
too, and then invalidate the region in cache.The expected result is doesn't invalidate region in cache, and the do fast retry without user-defined timeout.
The text was updated successfully, but these errors were encountered: