Skip to content

Commit 374ce59

Browse files
committed
don't return childrenExist prop for databases
1 parent b4be847 commit 374ce59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ydb/core/tx/schemeshard/schemeshard_path_describer.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ void TPathDescriber::FillChildDescr(NKikimrSchemeOp::TDirEntry* descr, TPathElem
176176
descr->SetCreateStep(ui64(pathEl->StepCreated));
177177
}
178178

179-
descr->SetChildrenExist(pathEl->GetAliveChildren() > 0);
179+
if (pathEl->PathType != NKikimrSchemeOp::EPathTypeSubDomain
180+
&& pathEl->PathType != NKikimrSchemeOp::EPathTypeExtSubDomain) {
181+
descr->SetChildrenExist(pathEl->GetAliveChildren() > 0);
182+
}
180183

181184
if (pathEl->PathType == NKikimrSchemeOp::EPathTypePersQueueGroup) {
182185
auto it = Self->Topics.FindPtr(pathEl->PathId);

0 commit comments

Comments
 (0)