Unify the PD API request interface
Open
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
Assessment
This issue has not been assessed yet.