diff --git a/docs/content/preview/reference/configuration/yb-master.md b/docs/content/preview/reference/configuration/yb-master.md index 296ceb610e55..5a0b8a9e03bf 100644 --- a/docs/content/preview/reference/configuration/yb-master.md +++ b/docs/content/preview/reference/configuration/yb-master.md @@ -528,7 +528,7 @@ Default: `2` ##### --load_balancer_max_over_replicated_tablets -Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor. +Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. Default: `1` diff --git a/docs/content/stable/reference/configuration/yb-master.md b/docs/content/stable/reference/configuration/yb-master.md index 99e78e4a71ee..b4bb45d59ac7 100644 --- a/docs/content/stable/reference/configuration/yb-master.md +++ b/docs/content/stable/reference/configuration/yb-master.md @@ -522,7 +522,7 @@ Default: `2` ##### --load_balancer_max_over_replicated_tablets -Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor. +Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. Default: `1` diff --git a/docs/content/v2.14/reference/configuration/yb-master.md b/docs/content/v2.14/reference/configuration/yb-master.md index 6a4fb6d8065d..5e6dc950cbaa 100644 --- a/docs/content/v2.14/reference/configuration/yb-master.md +++ b/docs/content/v2.14/reference/configuration/yb-master.md @@ -415,7 +415,7 @@ Default: `2` ##### --load_balancer_max_over_replicated_tablets -Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor. +Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. Default: `1` diff --git a/docs/content/v2.18/reference/configuration/yb-master.md b/docs/content/v2.18/reference/configuration/yb-master.md index 977e4055e37b..99f58a47f088 100644 --- a/docs/content/v2.18/reference/configuration/yb-master.md +++ b/docs/content/v2.18/reference/configuration/yb-master.md @@ -401,7 +401,7 @@ Default: `2` ##### --load_balancer_max_over_replicated_tablets -Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor. +Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. Default: `1` diff --git a/docs/content/v2.20/reference/configuration/yb-master.md b/docs/content/v2.20/reference/configuration/yb-master.md index 74f79bf7e746..e1b9eb1dcc62 100644 --- a/docs/content/v2.20/reference/configuration/yb-master.md +++ b/docs/content/v2.20/reference/configuration/yb-master.md @@ -415,7 +415,7 @@ Default: `2` ##### --load_balancer_max_over_replicated_tablets -Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor. +Specifies the maximum number of running tablet replicas that are allowed to be over the configured replication factor per table. Default: `1` diff --git a/src/yb/master/cluster_balance.cc b/src/yb/master/cluster_balance.cc index d2241a423995..10224527f277 100644 --- a/src/yb/master/cluster_balance.cc +++ b/src/yb/master/cluster_balance.cc @@ -74,7 +74,7 @@ DEFINE_RUNTIME_int32(load_balancer_max_inbound_remote_bootstraps_per_tserver, 4, DEFINE_RUNTIME_int32(load_balancer_max_over_replicated_tablets, 1, "Maximum number of running tablet replicas that are allowed to be over the configured " - "replication factor."); + "replication factor per table."); DEFINE_RUNTIME_int32(load_balancer_max_concurrent_adds, 1, "Maximum number of tablet peer replicas to add in any one run of the load balancer."); diff --git a/src/yb/master/cluster_balance_util.h b/src/yb/master/cluster_balance_util.h index e319634d00cd..1c014ab61efa 100644 --- a/src/yb/master/cluster_balance_util.h +++ b/src/yb/master/cluster_balance_util.h @@ -230,7 +230,7 @@ struct Options { // time. bool kAllowLimitOverReplicatedTablets = true; - // Max number of running tablet replicas that are over the configured limit. + // Max number of running tablet replicas that are over the configured limit per table. int kMaxOverReplicatedTablets = FLAGS_load_balancer_max_over_replicated_tablets; // Max number of over-replicated tablet peer removals to do in any one run of the load balancer.