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


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagActionReminderScheduler.java:
##########
@@ -117,20 +119,29 @@ public static String 
createDagActionReminderKey(DagActionStore.DagAction dagActi
         dagAction.getFlowExecutionId(), dagAction.getJobName(), 
dagAction.getDagActionType());
   }
 
+  /**
+   * Creates a JobKey object for the reminder job where the name is the 
DagActionReminderKey from above and the group is
+   * the flowGroup
+   */
+  public static JobKey createJobKey(DagActionStore.DagAction dagAction) {
+    return new JobKey(createDagActionReminderKey(dagAction), 
dagAction.getFlowGroup());

Review Comment:
   this way, we can bypass the other problem of not able to schedule a 
retryReminder, (probably) because a deadlineReminder is unexpectedly exists 
already.
   



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