Skip to content

Commit 55c8dc3

Browse files
committed
support for no storage pool filter
1 parent 90fbdab commit 55c8dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/mind/hive/storage_balancer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class THiveStorageBalancer : public NActors::TActorBootstrapped<THiveStorageBala
142142
const auto* channelInfo = tablet.TabletStorageInfo->ChannelInfo(channelId);
143143

144144
if (channelInfo
145-
&& channelInfo->StoragePool == Settings.StoragePool
145+
&& (Settings.StoragePool.empty() || channelInfo->StoragePool == Settings.StoragePool)
146146
&& channelInfo->History.back().Timestamp + Hive->GetMinPeriodBetweenReassign() <= now
147147
&& channelInfo->History.size() < Hive->GetMaxChannelHistorySize()) {
148148
channels.push_back(tablet.GetChannel(channelId));

0 commit comments

Comments
 (0)