aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Efimov <xeno@prnwatch.com>2022-04-18 18:40:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-04-18 18:40:10 +0300
commit278de3e0df5901ba689450f4c8b4868478b4fe5e (patch)
treee1eb3ef7f6ea7d561a08a1dc36d1a4650e88551c
parent543e252bf4f825a2a05c67331fd842497a1332d3 (diff)
downloadydb-278de3e0df5901ba689450f4c8b4868478b4fe5e.tar.gz
make available size filter exclusive KIKIMR-14624
REVIEW: 2430489 x-ydb-stable-ref: e9b28798844d16306b5a95676e989fb03e0402d8
-rw-r--r--ydb/core/mind/hive/leader_tablet_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/mind/hive/leader_tablet_info.cpp b/ydb/core/mind/hive/leader_tablet_info.cpp
index 13e1d5b2ee..83bef57a31 100644
--- a/ydb/core/mind/hive/leader_tablet_info.cpp
+++ b/ydb/core/mind/hive/leader_tablet_info.cpp
@@ -232,7 +232,7 @@ const NKikimrBlobStorage::TEvControllerSelectGroupsResult::TGroupParameters* TLe
if (newGroup.IsMatchesParameters(params)) {
if (currentGroup) {
return newGroup.Id != currentGroup->Id
- && newGroup.GroupParameters.GetAvailableSize() >= currentGroup->GroupParameters.GetAvailableSize();
+ && newGroup.GroupParameters.GetAvailableSize() > currentGroup->GroupParameters.GetAvailableSize();
}
return true;
}
@@ -274,7 +274,7 @@ void TLeaderTabletInfo::ActualizeTabletStatistics(TInstant now) {
TTabletInfo::ActualizeTabletStatistics(now);
for (TTabletInfo& follower : Followers) {
follower.ActualizeTabletStatistics(now);
- }
+ }
}
}