Versions in this module Expand all Collapse all v3 v3.1.2 Apr 26, 2020 v3.1.1 Apr 26, 2020 Changes in this version + const SmallRegionThreshold + 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 Other modules containing this package github.com/pingcap/pd/v4