diff --git a/docs/content/preview/reference/configuration/yb-master.md b/docs/content/preview/reference/configuration/yb-master.md index 1cfc88164e41..121144d058f1 100644 --- a/docs/content/preview/reference/configuration/yb-master.md +++ b/docs/content/preview/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/stable/reference/configuration/yb-master.md b/docs/content/stable/reference/configuration/yb-master.md index aad8ba56d9e8..fa3d7159e216 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 47fbdcb70cca..9c79ffcb4086 100644 --- a/src/yb/master/cluster_balance.cc +++ b/src/yb/master/cluster_balance.cc @@ -68,7 +68,7 @@ DEFINE_RUNTIME_int32(load_balancer_max_concurrent_tablet_remote_bootstraps_per_t 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 88c038fed612..8055afe47439 100644 --- a/src/yb/master/cluster_balance_util.h +++ b/src/yb/master/cluster_balance_util.h @@ -215,7 +215,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.