pingcap / pingcap/tidb

TiDB should ramp up traffic gradually on the restarted store

Open
#62,934 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.