Skip to content

Commit 362f6f5

Browse files
authored
Treat backup collections as dirs (#10490)
1 parent 4fc77b1 commit 362f6f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/core/tx/schemeshard/schemeshard_path.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,8 @@ bool TPath::IsCommonSensePath() const {
15491549
bool ok = (*item)->IsDirectory() || (*item)->IsDomainRoot();
15501550
// Temporarily olap stores are treated like directories
15511551
ok = ok || (*item)->IsOlapStore();
1552+
// Temporarily backup collections are treated like directories
1553+
ok = ok || (*item)->IsBackupCollection();
15521554
if (!ok) {
15531555
return false;
15541556
}

0 commit comments

Comments
 (0)