Skip to content

Commit 4ff35fe

Browse files
authored
Flush queue and end Final message immidiately on full result writer error (#582)
1 parent 55d122b commit 4ff35fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/library/yql/providers/dq/actors/result_actor_base.h

+2
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ namespace NYql::NDqs::NExecutionHelpers {
212212
if (ev->Get()->Record.IssuesSize() == 0) { // weird way used by writer to acknowledge it's death
213213
DoFinish();
214214
} else {
215+
WaitingAckFromFRW = false;
216+
WriteQueue.clear();
215217
Y_ABORT_UNLESS(ev->Get()->Record.GetStatusCode() != NYql::NDqProto::StatusIds::SUCCESS);
216218
TBase::Send(ExecuterID, ev->Release().Release());
217219
}

0 commit comments

Comments
 (0)