TiDB should ramp up traffic gradually on the restarted store
Open
contribution
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
When TiKV restarts it starts with empty block cache. While leaders are moved gradually, the stale reads are sent right away causing elevated latency. TiKV client-go can have some jitter on the node coming back before making it eligible for replica traffic in https://github.com/tikv/client-go/blob/tidb-8.5/internal/locate/replica_selector.go#L265-L270
Contributor guide
Assessment
This issue has not been assessed yet.