pingcap / pingcap/tidb

Unify the PD API request interface

Open
#35,319 1 comment 4 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

As https://github.com/pingcap/tidb/issues/35268 and https://github.com/pingcap/tidb/issues/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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.