Skip to content

log_backup: add some hint about the slow region #51046

@YuJuncen

Description

@YuJuncen

Enhancement

For now, the slow region hint of log backup only provides the range info. It is pretty hard to find the region contains that range in a huge cluster (We need run pd-ctl or something, also note that PD ctl doesn't support querying history data.)
It will be hard to debug checkpoint stuck issues: usually we need to fetch all TiKV's logs and query the start key of some region in ALL logs(!). It is painful.

We can fetch the region metadata once there are some slow regions. That will be pretty lightweight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.component/brThis issue is related to BR of TiDB.type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions