We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90fbdab commit 55c8dc3Copy full SHA for 55c8dc3
ydb/core/mind/hive/storage_balancer.cpp
@@ -142,7 +142,7 @@ class THiveStorageBalancer : public NActors::TActorBootstrapped<THiveStorageBala
142
const auto* channelInfo = tablet.TabletStorageInfo->ChannelInfo(channelId);
143
144
if (channelInfo
145
- && channelInfo->StoragePool == Settings.StoragePool
+ && (Settings.StoragePool.empty() || channelInfo->StoragePool == Settings.StoragePool)
146
&& channelInfo->History.back().Timestamp + Hive->GetMinPeriodBetweenReassign() <= now
147
&& channelInfo->History.size() < Hive->GetMaxChannelHistorySize()) {
148
channels.push_back(tablet.GetChannel(channelId));
0 commit comments