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: false, timeout: time.Second, label: nil, accessErr: []RegionErrorType{ServerIsBusyErr, ServerIsBusyErr, DeadLineExceededErr},
expect: &accessPathResult{ accessPath: []string{ "{addr: store1, replica-read: true, stale-read: false}", "{addr: store2, replica-read: true, stale-read: false}", "{addr: store3, replica-read: true, stale-read: false}"}, respErr: "", respRegionError: fakeEpochNotMatch, backoffCnt: 0, backoffDetail: []string{}, regionIsValid: true, },
expect: &accessPathResult{ accessPath: []string{ "{addr: store1, replica-read: true, stale-read: false}", "{addr: store2, replica-read: true, stale-read: false}", "{addr: store3, replica-read: true, stale-read: false}"}, respErr: "", respRegionError: fakeEpochNotMatch, backoffCnt: 0, backoffDetail: []string{}, regionIsValid: false, // should be true ? },
When user sets tidb_kv_read_timeout and meet DeadLineExceededErr at first round, we needn't invalidate the region cache.
tidb_kv_read_timeout
DeadLineExceededErr
The text was updated successfully, but these errors were encountered:
Don't invalid region when first round cause by deadlineErr when using…
fa1d849
… config timeout tikv#1177 Signed-off-by: crazycs520 <[email protected]>
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?
When user sets
tidb_kv_read_timeout
and meetDeadLineExceededErr
at first round, we needn't invalidate the region cache.The text was updated successfully, but these errors were encountered: