-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Some read requests do not honor the store labels #45693
Comments
There are many calls to
It seems that they are all in write operations. Those readonly operations doesn't seem to be affected. To fix the problem, we have multiple choices:
|
Configurable KV Timeout also has this issue too. Such as |
Bug Report
TiDB only set
MatchStoreLabels
onexecutorBuilder.getSnapshot
, however some of executors may usetxn.{Get,BatchGet}
directly. These reads do not honor the store labels thus may access replicas on the slow tikv.1. Minimal reproduce step (Required)
Deploy a cluster with 3 AZs and evict-slow-store-scheduler, run a stale read workload, and then slowdown a tikv in one AZ.
2. What did you expect to see? (Required)
The other two AZs should not be affected after leaders have been evicted.
3. What did you see instead (Required)
All AZs had perf regression during the fault injection.
4. What is your TiDB version? (Required)
release-6.5
The text was updated successfully, but these errors were encountered: