package
3.1.2
Repository: https://github.com/pingcap/pd.git
Documentation: pkg.go.dev

# Functions

NewBalanceSelector creates a BalanceSelector instance.
NewRandomSelector creates a RandomSelector instance.
NewReplicaSelector creates a ReplicaSelector instance.

# Structs

BalanceSelector selects source/target from store candidates based on their resource scores.
RandomSelector selects source/target store randomly.
ReplicaSelector selects source/target store candidates based on their distinct scores based on a region's peer stores.