pingcap / pingcap/tidb

Need update TiFlash replica available value when some of regions is down or pending.

Open
#35,914 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
- If some of the regions in TiFlash sync very slow.
- Then in TiFlash, The current peer may report itself as a `down-peer` or a `pending-peer`
- On the TiDB side, it still will see the TiFlash replica available as `true`. So the query may still send to the TiFlash.
- But in this time, lots of regions have not be synced, and The query in TiFlash will got `region timeout error`

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.