diff --git a/docs/generated/settings/settings.html b/docs/generated/settings/settings.html index 5c3b477e7549..d1be35e66870 100644 --- a/docs/generated/settings/settings.html +++ b/docs/generated/settings/settings.html @@ -45,7 +45,7 @@
jobs.retention_time
duration336h0m0sthe amount of time to retain records for completed jobs before
kv.allocator.load_based_lease_rebalancing.enabled
booleantrueset to enable rebalancing of range leases based on load and latency
kv.allocator.load_based_rebalancing
enumerationleases and replicaswhether to rebalance based on the distribution of load across stores [off = 0, leases = 1, leases and replicas = 2] -
kv.allocator.load_based_rebalancing.objective
enumerationqpswhat objective does the cluster use to rebalance; if set to `qps` the cluster will attempt to balance qps among stores, if set to `cpu` the cluster will attempt to balance cpu usage among stores [qps = 0, cpu = 1] +
kv.allocator.load_based_rebalancing.objective
enumerationcpuwhat objective does the cluster use to rebalance; if set to `qps` the cluster will attempt to balance qps among stores, if set to `cpu` the cluster will attempt to balance cpu usage among stores [qps = 0, cpu = 1]
kv.allocator.load_based_rebalancing_interval
duration1m0sthe rough interval at which each store will check for load-based lease / replica rebalancing opportunities
kv.allocator.qps_rebalance_threshold
float0.1minimum fraction away from the mean a store's QPS (such as queries per second) can be before it is considered overfull or underfull
kv.allocator.range_rebalance_threshold
float0.05minimum fraction away from the mean a store's range count can be before it is considered overfull or underfull diff --git a/pkg/kv/kvserver/rebalance_objective.go b/pkg/kv/kvserver/rebalance_objective.go index 4e159f17a3c7..3514f3c4fc99 100644 --- a/pkg/kv/kvserver/rebalance_objective.go +++ b/pkg/kv/kvserver/rebalance_objective.go @@ -100,7 +100,7 @@ var LoadBasedRebalancingObjective = settings.RegisterEnumSetting( "what objective does the cluster use to rebalance; if set to `qps` "+ "the cluster will attempt to balance qps among stores, if set to "+ "`cpu` the cluster will attempt to balance cpu usage among stores", - "qps", + "cpu", map[int64]string{ int64(LBRebalancingQueries): "qps", int64(LBRebalancingCPU): "cpu",