pingcap/tidb

Improve observability of fast reorg ADD INDEX progress

Open

#56,986 opened on 2024年10月30日

GitHub で見る
 (6 comments) (0 reactions) (1 assignee)Go (6,186 forks)batch import
component/ddlgood first issuetype/enhancement

Repository metrics

Stars
 (40,090 stars)
PR merge metrics
 (平均マージ 14d 4h) (30d で 346 merged PRs)

説明

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

コントリビューターガイド