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

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

                Author: ASF GitHub Bot
            Created on: 10/Jan/24 01:12
            Start Date: 10/Jan/24 01:12
    Worklog Time Spent: 10m 
      Work Description: codecov-commenter commented on PR #3854:
URL: https://github.com/apache/gobblin/pull/3854#issuecomment-1884036386

   ## 
[Codecov](https://app.codecov.io/gh/apache/gobblin/pull/3854?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   Attention: `3 lines` in your changes are missing coverage. Please review.
   > Comparison is base 
[(`f8880ed`)](https://app.codecov.io/gh/apache/gobblin/commit/f8880ed06079c354d5cdaa0dcd361a3c3856a5b3?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 47.57% compared to head 
[(`2bc4f32`)](https://app.codecov.io/gh/apache/gobblin/pull/3854?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 48.71%.
   
   | 
[Files](https://app.codecov.io/gh/apache/gobblin/pull/3854?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Patch % | Lines |
   |---|---|---|
   | 
[...in/service/modules/orchestration/Orchestrator.java](https://app.codecov.io/gh/apache/gobblin/pull/3854?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z29iYmxpbi1zZXJ2aWNlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9nb2JibGluL3NlcnZpY2UvbW9kdWxlcy9vcmNoZXN0cmF0aW9uL09yY2hlc3RyYXRvci5qYXZh)
 | 72.72% | [2 Missing and 1 partial :warning: 
](https://app.codecov.io/gh/apache/gobblin/pull/3854?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   ```diff
   @@             Coverage Diff              @@
   ##             master    #3854      +/-   ##
   ============================================
   + Coverage     47.57%   48.71%   +1.14%     
   + Complexity    11073     3588    -7485     
   ============================================
     Files          2160      700    -1460     
     Lines         85564    28433   -57131     
     Branches       9507     3308    -6199     
   ============================================
   - Hits          40703    13851   -26852     
   + Misses        41153    13175   -27978     
   + Partials       3708     1407    -2301     
   ```
   
   
   
   </details>
   
   [:umbrella: View full report in Codecov by 
Sentry](https://app.codecov.io/gh/apache/gobblin/pull/3854?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   
   :loudspeaker: Have feedback on the report? [Share it 
here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   




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

    Worklog Id:     (was: 898827)
    Time Spent: 0.5h  (was: 20m)

> Show a consistent flowExecutionId btwn Compilation & Execution 
> ---------------------------------------------------------------
>
>                 Key: GOBBLIN-1982
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1982
>             Project: Apache Gobblin
>          Issue Type: Bug
>          Components: gobblin-service
>            Reporter: Urmi Mustafi
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The problem statement addressed in this issue is to determine a unique ID per 
> execution that is agreed upon by all hosts, computed before returning any 
> information back to user (about compilation or execution).
> Upon receiving the request for an adhoc flow, the recipient host creates a 
> flowExecutionId when initializing FlowSpec from config for non-scheduled 
> flows (see 
> [code|https://jarvis.corp.linkedin.com/codesearch/result/?name=FlowConfigResourceLocalHandler.java&path=gobblin-elr%2Fgobblin-restli%2Fgobblin-flow-config-service%2Fgobblin-flow-config-service-server%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fgobblin%2Fservice&reponame=linkedin%2Fgobblin-elr#276]).
>  This flowExecutionId is returned to the user for tracking the flow status. 
> This should not change later on.
> Scheduled flows are fired upon each host at a different system clock time, so 
> those ones need a consensus mechanism to coordinate between hosts. During 
> multiActiveLeaseArbitration we update the flowExecutionId of a DagAction with 
> an agreed upon value from the database to gain this consistency. However, 
> this should only be done for scheduled flows before we any information 
> externally about the flowExecutionId until later.
> To address the problems above we 
> 1) skip flowExecutionId replacement for adhoc flows
> 2) remove a flow compilation and GTE emission before the consensus on 
> flowExecutionId is removed.
> There's no significant impact of removing this check. It will result in 
> dagActions created for flows that may fail compilation later (after lease 
> arbitration and before execution). Since we already compile the flow on 
> accepting it, we are okay with a slight delay in failing a flow. 



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

Reply via email to