Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pkg/kv/kvserver/allocator/allocatorimpl/allocator_scorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ const (
// DefaultReplicaIOOverloadThreshold is used to avoid allocating to stores with an
// IO overload score greater than what's set. This is typically used in
// conjunction with IOOverloadMeanThreshold below.
DefaultReplicaIOOverloadThreshold = 0.8
DefaultReplicaIOOverloadThreshold = 0.4

// DefaultLeaseIOOverloadThreshold is used to shed leases from stores with an
// IO overload score greater than this threshold. This is typically used in
// conjunction with IOOverloadMeanThreshold below.
DefaultLeaseIOOverloadThreshold = 0.5
// DefaultLeaseIOOverloadThreshold is used to block lease transfers to stores
// with an IO overload score greater than this threshold. This is typically
// used in conjunction with IOOverloadMeanThreshold below.
DefaultLeaseIOOverloadThreshold = 0.3

// DefaultLeaseIOOverloadShedThreshold is used to shed leases from stores
// with an IO overload score greater than the this threshold. This is
Expand Down