Skip to content

Commit fd06fa3

Browse files
fix index actualization (#6793)
1 parent 42d0f96 commit fd06fa3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,8 @@ std::optional<TWritePortionInfoWithBlobsResult> TReadPortionInfoWithBlobs::SyncP
143143
TIndexInfo::TSecondaryData secondaryData;
144144
secondaryData.MutableExternalData() = entityChunksNew;
145145
for (auto&& i : to->GetIndexInfo().GetIndexes()) {
146-
if (from->GetIndexInfo().HasIndexId(i.first)) {
147-
for (auto&& c : source.PortionInfo.GetIndexes()) {
148-
if (c.GetEntityId() == i.first) {
149-
constructor.AddIndex(c);
150-
}
151-
}
152-
} else {
153146
to->GetIndexInfo().AppendIndex(entityChunksNew, i.first, storages, secondaryData).Validate();
154147
}
155-
}
156148

157149
const NSplitter::TEntityGroups groups = to->GetIndexInfo().GetEntityGroupsByStorageId(targetTier, *storages);
158150
auto schemaTo = std::make_shared<TDefaultSchemaDetails>(to, std::make_shared<TSerializationStats>());

0 commit comments

Comments
 (0)