[
https://issues.apache.org/jira/browse/GOBBLIN-2143?focusedWorklogId=932461&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-932461
]
ASF GitHub Bot logged work on GOBBLIN-2143:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 29/Aug/24 17:19
Start Date: 29/Aug/24 17:19
Worklog Time Spent: 10m
Work Description: arjun4084346 commented on code in PR #4038:
URL: https://github.com/apache/gobblin/pull/4038#discussion_r1736765517
##########
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:
i mean, deletion not happening can really be just because the element was
already absent...
if there is some mysql exception, it would be thrown, it will not return a
boolean in that case.
Issue Time Tracking
-------------------
Worklog Id: (was: 932461)
Time Spent: 20m (was: 10m)
> 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: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)