Skip to content

Send CDC scan priority for bootstrap and repair scans #5651

Description

@hongyunyan

Is your feature request related to a problem?

Newly created changefeeds can enqueue many bootstrap scans. Without explicit priority propagation, downstream CDC services cannot distinguish those low-priority scans from repair or retry scans that protect lag for existing changefeeds.

Describe the feature you'd like

TiCDC should map log puller task types to a scan priority and send that priority through ChangeDataRequest so downstream services can schedule bootstrap scans lower than repair and retry scans.

Describe alternatives you've considered

Keep all scans at a single priority and rely only on downstream heuristics. That loses the intent carried by TiCDC task types and makes it harder to protect existing changefeed lag during large bootstrap workloads.

Teachability, Documentation, Adoption, Migration Strategy

This is part of an end-to-end change together with kvproto and cloud-storage-engine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions