Skip to content

ttl gc or report metrics may introduce some unnecessary overhead #59357

@lcwangchao

Description

@lcwangchao

JobManager.reportMetrics and JobManager.DoGC runs on every tidb node. If tidb has many nodes and there are many ttl tables, it may introduce some unnecessary overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.severity/moderatesig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions