pingcap/tidb

Improve observability of fast reorg ADD INDEX progress

Open

#56 986 ouverte le 30 oct. 2024

Voir sur GitHub
 (6 commentaires) (0 réactions) (1 assigné)Go (6 186 forks)batch import
component/ddlgood first issuetype/enhancement

Métriques du dépôt

Stars
 (40 090 stars)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

Description

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".

Guide contributeur