pingcap / pingcap/tidb

br.pkg.pdutil.PdController could leverage PDClient for most functions.

Open
#42,917 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

PdController gets meta info using PD's HTTP interface instead of the gRPC interface bundled by the PDClient, for example, https://github.com/pingcap/tidb/blob/6a0638b0c1f0f948a6b0be93ecdcb8bc2c66e339/br/pkg/pdutil/pd.go#L387

which is verbose and makes it hard to change the behaviour while BR talks to the PDs.

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.