Skip to content

Commit

Permalink
A pair of fixes (ydb-platform#3981)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hor911 authored and uzhastik committed Jun 20, 2024
1 parent 25a6ee0 commit ca08317
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ydb/library/yql/providers/s3/actors/yql_s3_read_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ class TS3ReadActor : public TActorBootstrapped<TS3ReadActor>, public IDqComputeA
LOG_T("TS3ReadActor", "Handle undelivered FileQueue ");
if (!FileQueueEvents.HandleUndelivered(ev)) {
TIssues issues{TIssue{TStringBuilder() << "FileQueue was lost"}};
Send(ComputeActorId, new TEvAsyncInputError(InputIndex, issues, NYql::NDqProto::StatusIds::INTERNAL_ERROR));
Send(ComputeActorId, new TEvAsyncInputError(InputIndex, issues, NYql::NDqProto::StatusIds::UNAVAILABLE));
}
}

Expand Down Expand Up @@ -3399,12 +3399,12 @@ std::pair<NYql::NDq::IDqComputeActorAsyncInput*, IActor*> CreateS3ReadActor(
fileQueueActor = ActorIdFromProto(protoId);
}

ui64 fileQueueBatchSizeLimit;
ui64 fileQueueBatchSizeLimit = 0;
if (auto it = settings.find("fileQueueBatchSizeLimit"); it != settings.cend()) {
fileQueueBatchSizeLimit = FromString<ui64>(it->second);
}

ui64 fileQueueBatchObjectCountLimit;
ui64 fileQueueBatchObjectCountLimit = 0;
if (auto it = settings.find("fileQueueBatchObjectCountLimit"); it != settings.cend()) {
fileQueueBatchObjectCountLimit = FromString<ui64>(it->second);
}
Expand Down

0 comments on commit ca08317

Please sign in to comment.