Skip to content

Unify the PD API request interface #35319

@JmPotato

Description

@JmPotato

As #35268 and #35284 show, the PD API request lacks a unified interface, which causes the failover, error handling, and other necessary mechanisms to be missed. So I proposed that we should provide a unified PD API request interface inside TiDB rather than maintaining different implementations everywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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