[ 
https://issues.apache.org/jira/browse/GOBBLIN-2143?focusedWorklogId=932519&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-932519
 ]

ASF GitHub Bot logged work on GOBBLIN-2143:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/24 22:25
            Start Date: 29/Aug/24 22:25
    Worklog Time Spent: 10m 
      Work Description: Will-Lo commented on code in PR #4038:
URL: https://github.com/apache/gobblin/pull/4038#discussion_r1737284630


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/MySqlDagManagementStateStore.java:
##########
@@ -142,8 +142,11 @@ public void markDagFailed(DagManager.DagId dagId) throws 
IOException {
 
   @Override
   public void deleteDag(DagManager.DagId dagId) throws IOException {
-    this.dagStateStore.cleanUp(dagId);
-    log.info("Deleted dag {}", dagId);
+    if (this.dagStateStore.cleanUp(dagId)) {
+      log.info("Deleted dag {}", dagId);
+    } else {
+      log.info("Dag deletion was tried but did not happen {}", dagId);

Review Comment:
   Should be try/catch in this case with logging?





Issue Time Tracking
-------------------

    Worklog Id:     (was: 932519)
    Time Spent: 1h  (was: 50m)

> handle concurrent ReevaluateDagProc for cancelled dag nodes correctly
> ---------------------------------------------------------------------
>
>                 Key: GOBBLIN-2143
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2143
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to