File tree 1 file changed +7
-8
lines changed
ydb/core/kqp/executer_actor
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -411,11 +411,11 @@ class TKqpExecuterBase : public TActorBootstrapped<TDerived> {
411
411
YQL_ENSURE (Planner);
412
412
bool ack = Planner->AcknowledgeCA (taskId, computeActor, &state);
413
413
414
- // Don't finalize stats twice.
415
- if (Planner-> CompletedCA (taskId, computeActor)) {
416
- switch (state. GetState ()) {
417
- case NYql::NDqProto::COMPUTE_STATE_FAILURE:
418
- case NYql::NDqProto::COMPUTE_STATE_FINISHED: {
414
+ switch (state. GetState ()) {
415
+ case NYql::NDqProto::COMPUTE_STATE_FAILURE:
416
+ case NYql::NDqProto::COMPUTE_STATE_FINISHED:
417
+ // Don't finalize stats twice.
418
+ if (Planner-> CompletedCA (taskId, computeActor)) {
419
419
ExtraData[computeActor].Swap (state.MutableExtraData ());
420
420
421
421
if (Stats) {
@@ -429,9 +429,8 @@ class TKqpExecuterBase : public TActorBootstrapped<TDerived> {
429
429
LastTaskId = taskId;
430
430
LastComputeActorId = computeActor.ToString ();
431
431
}
432
- default :
433
- ; // ignore all other states.
434
- }
432
+ default :
433
+ ; // ignore all other states.
435
434
}
436
435
437
436
return ack;
You can’t perform that action at this time.
0 commit comments