Skip to content

Commit 39f926e

Browse files
committed
reduce Inflight and reset PopStarted when skipping send
1 parent ae7d808 commit 39f926e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,8 @@ class TDqAsyncComputeActor : public TDqComputeActorBase<TDqAsyncComputeActor, TC
852852
if (!Channels->ShouldSkipData(outputChannel.ChannelId) && !Channels->CanSendChannelData(outputChannel.ChannelId)) {
853853
// Once RetryState will be reset, channel will trigger either ResumeExecution or PeerFinished; either way execution will re-reach this function
854854
CA_LOG_D("OnOutputChannelData return because Channel can't send channel data, channel: " << outputChannel.ChannelId);
855+
outputChannel.PopStarted = false;
856+
ProcessOutputsState.Inflight--;
855857
return;
856858
}
857859
if (outputChannel.AsyncData) {

0 commit comments

Comments
 (0)