package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

DefaultExpectPDCfgGenerators returns default pd config generators.
FetchPDVersion get pd version.
GetPlacementRules return the current placement rules.
NewPdController creates a new PdController.
PauseSchedulersByKeyRange will pause schedulers for regions in the specific key range.
SearchPlacementRule returns the placement rule matched to the table or nil.

# Constants

pd request retry time when connection fail.

# Variables

Nop is the 'zero value' of undo func.
Schedulers represent region/leader schedulers which can impact on performance.

# Structs

ClusterConfig represents a set of scheduler whose config have been modified along with their original config.
KeyRangeRule contains the start key and end key of the LabelRule.
LabelRule is the rule to assign labels to a region.
PdController manage get/update config from pd.
RegionLabel is the label of a region.

# Type aliases

UndoFunc is a 'undo' operation of some undoable command.