jack-moseley commented on a change in pull request #3286:
URL: https://github.com/apache/gobblin/pull/3286#discussion_r638260887



##########
File path: 
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/AbstractJobLauncher.java
##########
@@ -598,7 +598,7 @@ public void apply(JobListener jobListener, JobContext 
jobContext)
               }
             });
 
-            if (jobState.getState() == JobState.RunningState.FAILED) {
+            if (jobState.getState() == JobState.RunningState.FAILED || 
jobState.getState() == JobState.RunningState.CANCELLED) {

Review comment:
       It's been like that for a long time, I'm not sure if that was originally 
intentional or not. But there is no `onJobSuccess` API, so I'm not sure what 
would replace it. Also would have to be careful changing something here, since 
changing logic could affect many gobblin jobs.




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

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


Reply via email to