Skip to content

Commit 0bf2b38

Browse files
authored
Fix busy-wait in async compute actor (backport #11507) (#11527)
1 parent f939529 commit 0bf2b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/yql/dq/actors/compute/dq_async_compute_actor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ class TDqAsyncComputeActor : public TDqComputeActorBase<TDqAsyncComputeActor, TC
440440
if (!shouldSkipData && !outputChannel.EarlyFinish && !hasFreeMemory) {
441441
CA_LOG_T("DrainOutputChannel return because No free memory in channel, channel: " << outputChannel.ChannelId);
442442
ProcessOutputsState.HasDataToSend |= !outputChannel.Finished;
443-
ProcessOutputsState.AllOutputsFinished = !outputChannel.Finished;
443+
ProcessOutputsState.AllOutputsFinished &= outputChannel.Finished;
444444
return;
445445
}
446446

0 commit comments

Comments
 (0)