Skip to content

Commit

Permalink
Flush queue and end Final message immidiately on full result writer e…
Browse files Browse the repository at this point in the history
  • Loading branch information
resetius authored Dec 19, 2023
1 parent 55d122b commit 4ff35fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/library/yql/providers/dq/actors/result_actor_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ namespace NYql::NDqs::NExecutionHelpers {
if (ev->Get()->Record.IssuesSize() == 0) { // weird way used by writer to acknowledge it's death
DoFinish();
} else {
WaitingAckFromFRW = false;
WriteQueue.clear();
Y_ABORT_UNLESS(ev->Get()->Record.GetStatusCode() != NYql::NDqProto::StatusIds::SUCCESS);
TBase::Send(ExecuterID, ev->Release().Release());
}
Expand Down

0 comments on commit 4ff35fe

Please sign in to comment.