Skip to content

Commit

Permalink
Add portion_id to log scope in TReadPortionInfoWithBlobs::RestoreBatch (
Browse files Browse the repository at this point in the history
  • Loading branch information
fexolm authored Nov 20, 2024
1 parent 4644e09 commit 872bb4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/tx/columnshard/engines/portions/read_with_blobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ void TReadPortionInfoWithBlobs::RestoreChunk(const std::shared_ptr<IPortionDataC
TConclusion<std::shared_ptr<NArrow::TGeneralContainer>> TReadPortionInfoWithBlobs::RestoreBatch(
const ISnapshotSchema& data, const ISnapshotSchema& resultSchema, const std::set<ui32>& seqColumns) const {
THashMap<TChunkAddress, TString> blobs;
NActors::TLogContextGuard gLogging =
NActors::TLogContextBuilder::Build(NKikimrServices::TX_COLUMNSHARD)("portion_id", PortionInfo.GetPortionInfo().GetPortionId());
for (auto&& i : PortionInfo.GetRecordsVerified()) {
blobs[i.GetAddress()] = GetBlobByAddressVerified(i.ColumnId, i.Chunk);
Y_ABORT_UNLESS(blobs[i.GetAddress()].size() == i.BlobRange.Size);
Expand Down

0 comments on commit 872bb4d

Please sign in to comment.