Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2023 Changes in this version + const RejectLeader + func IsSchedulerRegistered(name string) bool + func RegisterScheduler(typ string) + type Config interface + CheckLabelProperty func(string, []*metapb.StoreLabel) bool + GetClusterVersion func() *semver.Version + GetHighSpaceRatio func() float64 + GetHotRegionCacheHitsThreshold func() int + GetHotRegionScheduleLimit func() uint64 + GetIsolationLevel func() string + GetKeyType func() constant.KeyType + GetLeaderScheduleLimit func() uint64 + GetLeaderSchedulePolicy func() constant.SchedulePolicy + GetLocationLabels func() []string + GetLowSpaceRatio func() float64 + GetMaxMergeRegionKeys func() uint64 + GetMaxMergeRegionSize func() uint64 + GetMaxMovableHotPeerSize func() int64 + GetMaxPendingPeerCount func() uint64 + GetMaxReplicas func() int + GetMaxSnapshotCount func() uint64 + GetMaxStoreDownTime func() time.Duration + GetMergeScheduleLimit func() uint64 + GetPatrolRegionInterval func() time.Duration + GetRegionScheduleLimit func() uint64 + GetRegionScoreFormulaVersion func() string + GetReplicaScheduleLimit func() uint64 + GetSchedulerMaxWaitingOperator func() uint64 + GetSlowStoreEvictingAffectedStoreRatioThreshold func() float64 + GetSplitMergeInterval func() time.Duration + GetStoreLimitByType func(uint64, storelimit.Type) float64 + GetStoreLimitVersion func() string + GetSwitchWitnessInterval func() time.Duration + GetTolerantSizeRatio func() float64 + GetWitnessScheduleLimit func() uint64 + IsCrossTableMergeEnabled func() bool + IsDebugMetricsEnabled func() bool + IsLocationReplacementEnabled func() bool + IsMakeUpReplicaEnabled func() bool + IsOneWayMergeEnabled func() bool + IsPlacementRulesCacheEnabled func() bool + IsPlacementRulesEnabled func() bool + IsRemoveDownReplicaEnabled func() bool + IsRemoveExtraReplicaEnabled func() bool + IsReplaceOfflineReplicaEnabled func() bool + IsTraceRegionFlow func() bool + IsUseJointConsensus func() bool + IsWitnessAllowed func() bool + SetAllStoresLimit func(storelimit.Type, float64) + SetMaxReplicas func(int) + SetPlacementRuleEnabled func(bool) + SetPlacementRulesCacheEnabled func(bool) + SetSplitMergeInterval func(time.Duration) + SetWitnessEnabled func(bool) + UseRaftV2 func() + type StoreConfig interface + CheckRegionKeys func(uint64, uint64) error + CheckRegionSize func(uint64, uint64) error + GetRegionMaxSize func() uint64 + IsEnableRegionBucket func() bool + IsRaftKV2 func() bool + SetRegionBucketEnabled func(bool)