pingcap/tidb

Improve observability of fast reorg ADD INDEX progress

Open

#56.986 aperta il 30 ott 2024

Vedi su GitHub
 (6 commenti) (0 reazioni) (1 assegnatario)Go (6186 fork)batch import
component/ddlgood first issuetype/enhancement

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

Enhancement

currently we only let progress forward when KV is written to TiKV. When fast reorg is enabled, data will be batched on disk for a long time. No progress will be made during that stage and some users may suspect DDL is stuck.

So I propose we draw another line in metrics, which means "how many record KV we have read to assume the index KV".

Guida contributor