[
https://issues.apache.org/jira/browse/GOBBLIN-1997?focusedWorklogId=902731&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-902731
]
ASF GitHub Bot logged work on GOBBLIN-1997:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Jan/24 18:28
Start Date: 30/Jan/24 18:28
Worklog Time Spent: 10m
Work Description: umustafi commented on PR #3872:
URL: https://github.com/apache/gobblin/pull/3872#issuecomment-1917646126
checks on my fork https://github.com/umustafi/gobblin/pull/21
Issue Time Tracking
-------------------
Worklog Id: (was: 902731)
Time Spent: 20m (was: 10m)
> Avoid deleting flowSpec too early
> ----------------------------------
>
> Key: GOBBLIN-1997
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1997
> Project: Apache Gobblin
> Issue Type: Bug
> Components: gobblin-service
> Reporter: Urmi Mustafi
> Assignee: Abhishek Tiwari
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/gobblin/blob/67c610117c2b757bb15714826e0b0edc3e6b26a5/gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/DagActionStoreChangeMonitor.java#L290]
>
> If a non-active host receives and processes the LAUNCH event before the
> leader does, then we encounter a SpecNotFoundException when the leader goes
> to process the event and the execution of the LAUNCH will be missed. This PR
> moves the deletion to the DagManager and does it only after completing addDag
> to persist the event and after checking active status.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)