Skip to content

Commit 9e6fc1f

Browse files
committed
Fixed compute actor finalizing in case of node disconnect
1 parent 3ba7187 commit 9e6fc1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ydb/core/kqp/executer_actor/kqp_planner.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,9 @@ void TKqpPlanner::TaskNotStarted(ui64 taskId) {
643643
YQL_ENSURE(!task.ComputeActorId);
644644
YQL_ENSURE(!task.Meta.Completed);
645645

646+
// Mark as completed, because node disconnect may be temporary, and CA will send TEvDqCompute::TEvState while shutting down
647+
task.Meta.Completed = true;
648+
646649
PendingComputeTasks.erase(taskId);
647650
}
648651

0 commit comments

Comments
 (0)