Skip to content

Commit

Permalink
fix index actualization (#6793)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Jul 17, 2024
1 parent 42d0f96 commit fd06fa3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,8 @@ std::optional<TWritePortionInfoWithBlobsResult> TReadPortionInfoWithBlobs::SyncP
TIndexInfo::TSecondaryData secondaryData;
secondaryData.MutableExternalData() = entityChunksNew;
for (auto&& i : to->GetIndexInfo().GetIndexes()) {
if (from->GetIndexInfo().HasIndexId(i.first)) {
for (auto&& c : source.PortionInfo.GetIndexes()) {
if (c.GetEntityId() == i.first) {
constructor.AddIndex(c);
}
}
} else {
to->GetIndexInfo().AppendIndex(entityChunksNew, i.first, storages, secondaryData).Validate();
}
}

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

0 comments on commit fd06fa3

Please sign in to comment.