phet commented on code in PR #3965:
URL: https://github.com/apache/gobblin/pull/3965#discussion_r1631696425


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/ReevaluateDagProc.java:
##########
@@ -123,6 +122,11 @@ protected void act(DagManagementStateStore 
dagManagementStateStore, Pair<Optiona
     }
   }
 
+  private void submitJobForThisDagNode(DagManagementStateStore 
dagManagementStateStore, Dag.DagNode<JobExecutionPlan> dagNode) {
+    DagProcUtils.submitJobToExecutor(dagManagementStateStore, dagNode, 
getDagId());
+    log.info("Submitted job {} for dagId {}", 
DagManagerUtils.getJobName(dagNode), getDagId());
+  }

Review Comment:
   logging like this could arguably go in `DagProcUtils.submitJobToExecutor`.  
if so this class could call that directly, rather than wrapping the call in 
this method that's merely forwarding



-- 
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