arjun4084346 commented on code in PR #4038:
URL: https://github.com/apache/gobblin/pull/4038#discussion_r1731856596


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/DagProcUtils.java:
##########
@@ -174,12 +171,6 @@ public static void 
cancelDagNode(Dag.DagNode<JobExecutionPlan> dagNodeToCancel,
         log.warn("No Job future when canceling DAG node - {}", 
dagNodeToCancel.getValue().getId());
       }
       
DagManagerUtils.getSpecProducer(dagNodeToCancel).cancelJob(dagNodeToCancel.getValue().getJobSpec().getUri(),
 cancelJobArgs).get();
-      // add back the dag node with updated states in the store

Review Comment:
   updating the status too soon (like here), may cause a dag to delete before 
ReevaluateDagProc is processed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to