Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ struct TComputeActorAsyncInputHelper {
Pause(*watermark);
}
}
const bool emptyBatch = batch.empty();
AsyncInputPush(std::move(batch), space, finished);
if (!batch.empty()) {
if (!emptyBatch) {
// If we have read some data, we must run such reading again
// to process the case when async input notified us about new data
// but we haven't read all of it.
Expand Down