Skip to content

Commit 34b6297

Browse files
authored
Do not treat incr backup tables as async replicas (#7109)
1 parent 4a621d8 commit 34b6297

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/config/muted_ya.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ ydb/core/persqueue/ut/ut_with_sdk TopicAutoscaling.ReadingAfterSplitTest_Prefere
4242
ydb/core/persqueue/ut/ut_with_sdk [*/*]*
4343
ydb/core/tx/coordinator/ut Coordinator.RestoreTenantConfiguration
4444
ydb/core/tx/datashard/ut_change_exchange Cdc.InitialScanDebezium
45-
ydb/core/tx/datashard/ut_incremental_backup IncrementalBackup.BackupRestore
4645
ydb/core/tx/schemeshard/ut_restore TImportTests.ShouldSucceedOnManyTables
4746
ydb/core/tx/schemeshard/ut_split_merge TSchemeShardSplitBySizeTest.Merge1KShards
4847
ydb/core/tx/tx_proxy/ut_ext_tenant TExtSubDomainTest.CreateTableInsideAndAlterDomainAndTable-AlterDatabaseCreateHiveFirst*

ydb/core/tx/schemeshard/schemeshard_path.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,11 @@ const TPath::TChecker& TPath::TChecker::NotAsyncReplicaTable(EStatus status) con
391391
return *this;
392392
}
393393

394+
// do not treat incr backup tables as async replica
395+
if (Path->IsIncrementalBackupTable()) {
396+
return *this;
397+
}
398+
394399
return Fail(status, TStringBuilder() << "path is an async replica table"
395400
<< " (" << BasicPathInfo(Path.Base()) << ")");
396401
}
@@ -1633,7 +1638,6 @@ bool TPath::IsAsyncReplicaTable() const {
16331638
return false;
16341639
}
16351640

1636-
TPathElement::TPtr path = SS->PathsById.at(Base()->PathId);
16371641
TTableInfo::TCPtr tableInfo = SS->Tables.at(Base()->PathId);
16381642

16391643
return tableInfo->IsAsyncReplica();

0 commit comments

Comments
 (0)