aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvporyadke <zalyalov@ydb.tech>2024-01-09 19:38:20 +0300
committerGitHub <noreply@github.com>2024-01-09 17:38:20 +0100
commit50a65e3b48a82d5b51f272664da389f2e0b0c99a (patch)
treeacd4b430615a0e65f2f2d0030a01d54b1f11c9e3
parent90294b5a280bb68170579c8b82a825646a5a1874 (diff)
downloadydb-50a65e3b48a82d5b51f272664da389f2e0b0c99a.tar.gz
use counter as the resource for spread-neighbours balancer (#891)
-rw-r--r--ydb/core/mind/hive/hive_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/mind/hive/hive_impl.cpp b/ydb/core/mind/hive/hive_impl.cpp
index 9ec9320a4c..9717f97bc2 100644
--- a/ydb/core/mind/hive/hive_impl.cpp
+++ b/ydb/core/mind/hive/hive_impl.cpp
@@ -2314,6 +2314,7 @@ void THive::Handle(TEvPrivate::TEvProcessTabletBalancer::TPtr&) {
.RecheckOnFinish = CurrentConfig.GetContinueAutoBalancer(),
.MaxInFlight = GetBalancerInflight(),
.FilterNodeIds = std::move(objectToBalance.Nodes),
+ .ResourceToBalance = EResourceToBalance::Counter,
.FilterObjectId = objectToBalance.ObjectId,
});
return;