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, label: &metapb.StoreLabel{Key: "id", Value: "2"}, accessErr: []RegionErrorType{DataIsNotReadyErr, ServerIsBusyErr, ServerIsBusyErr, ServerIsBusyErr},
accessPath: []string{ "{addr: store2, replica-read: false, stale-read: true}", "{addr: store1, replica-read: false, stale-read: false}", // try leader with leader read. "{addr: store2, replica-read: true, stale-read: false}", "{addr: store3, replica-read: true, stale-read: false}", },
accessPath: []string{ "{addr: store2, replica-read: false, stale-read: true}", "{addr: store1, replica-read: false, stale-read: false}", // try leader with leader read. "{addr: store3, replica-read: true, stale-read: false}",
Currently, the replica selector logic is:
DataIsNotReadyErr
ServerIsBusyErr
The problem is, store2 is available, it's meet DataIsNotReadyErr, and we can use replica-read to retry store2 again.
The text was updated successfully, but these errors were encountered:
should fix by crazycs520@2d31d6f
Sorry, something went wrong.
fix by #1181
No branches or pull requests
Issue
1. Minimal reproduce step
In the following case, suppose the region leader is in
store1
.2. What did you expect to see?
3. What did you see instead?
Currently, the replica selector logic is:
DataIsNotReadyErr
.ServerIsBusyErr
.ServerIsBusyErr
too.The problem is, store2 is available, it's meet
DataIsNotReadyErr
, and we can use replica-read to retry store2 again.The text was updated successfully, but these errors were encountered: