pingcap/tidb

Improve observability of fast reorg ADD INDEX progress

Open

#56,986 创建于 2024年10月30日

在 GitHub 查看
 (6 评论) (0 反应) (1 负责人)Go (6,186 fork)batch import
component/ddlgood first issuetype/enhancement

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

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

贡献者指南