summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Efimov <[email protected]>2022-04-01 08:44:19 +0300
committerAlexey Efimov <[email protected]>2022-04-01 08:44:19 +0300
commit05091b7d4e382df88a2480b582e800943634518d (patch)
tree017178bca42bd4f509246aaf93c78b3be7a1f1df
parenta9e9736a1a187dc2fb34b2d4af36b0b310d8efe1 (diff)
make available size filter exclusive KIKIMR-14624
ref:8e509d60644c8063ce4feee2fdf5b9fa5d8a51a5
-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 13e1d5b2ee2..83bef57a31a 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);
- }
+ }
}
}