Versions in this module Expand all Collapse all v4 v4.0.4 Jul 21, 2020 v4.0.3 Jul 21, 2020 v4.0.2 Jun 23, 2020 Changes in this version type Type + const AddPeer + const RemovePeer v4.0.1 Jun 5, 2020 v4.0.0 May 27, 2020 Changes in this version + const SmallRegionThreshold + const Unlimited + var RegionInfluence = map[Type]int64 + var SmallRegionInfluence = map[Type]int64 + var TypeNameValue = map[string]Type + type Mode int + const Auto + const Manual + func (m Mode) String() string + type Scene struct + High int + Idle int + Low int + Normal int + func DefaultScene(limitType Type) *Scene + type StoreLimit struct + func NewStoreLimit(rate float64, mode Mode, regionInfluence int64) *StoreLimit + func (l *StoreLimit) Available() int64 + func (l *StoreLimit) Mode() Mode + func (l *StoreLimit) Rate() float64 + func (l *StoreLimit) Take(count int64) time.Duration + type Type int + const RegionAdd + const RegionRemove + func (t Type) String() string v4.0.0-rc.2 May 14, 2020 Other modules containing this package github.com/pingcap/pd/v3