Skip to content

Commit 637f502

Browse files
authored
fix statistics aggregator migration logic (#5432)
1 parent 7652f12 commit 637f502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/schemeshard/schemeshard_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void TSchemeShard::InitializeTabletMigrations() {
148148
}
149149

150150
if (EnableStatistics &&
151-
!IsServerlessDomain(subdomain) &&
151+
!IsServerlessDomainGlobal(pathId, subdomain) &&
152152
subdomain->GetTenantStatisticsAggregatorID() == InvalidTabletId)
153153
{
154154
createSA = true;

0 commit comments

Comments
 (0)