Will-Lo commented on code in PR #3830:
URL: https://github.com/apache/gobblin/pull/3830#discussion_r1396058846


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/restli/GobblinServiceFlowExecutionResourceHandlerWithWarmStandby.java:
##########
@@ -46,56 +48,38 @@ public 
GobblinServiceFlowExecutionResourceHandlerWithWarmStandby(FlowExecutionRe
     this.dagActionStore = dagActionStore;
   }
 
+  @Override
+  public void resume(ComplexResourceKey<FlowStatusId, EmptyRecord> key) {
+    FlowStatusId id = key.getKey();
+    addDagAction(id.getFlowGroup(), id.getFlowName(), id.getFlowExecutionId(), 
DagActionStore.FlowActionType.RESUME);
+  }

Review Comment:
   I know this is sort of how the class was designed, but I'm curious why we 
also don't return a 200 OK response for resume. 
   
   Also I'm wondering why we don't enforce that the dag exists before we 
attempt to kill/resume it, seems like it is a source for some pain in users



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