Skip to content

Commit e93969d

Browse files
committed
Y_ABORT_UNLESS fix
1 parent bbd0161 commit e93969d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/schemeshard/schemeshard__operation_apply_build_index.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ TVector<ISubOperation::TPtr> CancelBuildIndex(TOperationId nextId, const TTxTran
114114

115115
if (!indexName.empty()) {
116116
TPath index = table.Child(indexName);
117-
Y_ABORT_UNLESS(index.Base()->GetChildren().size() == 1);
117+
Y_ABORT_UNLESS(index.Base()->GetChildren().size() >= 1);
118118
for (auto& indexChildItems: index.Base()->GetChildren()) {
119119
const TString& implTableName = indexChildItems.first;
120120
Y_ABORT_UNLESS(NTableIndex::IsImplTable(implTableName), "unexpected name %s", implTableName.c_str());

0 commit comments

Comments
 (0)