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

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

                Author: ASF GitHub Bot
            Created on: 06/Jun/19 05:36
            Start Date: 06/Jun/19 05:36
    Worklog Time Spent: 10m 
      Work Description: autumnust commented on pull request #2647: 
[GOBBLIN-781] Skeleton for GaaS DR mode clean transition
URL: https://github.com/apache/incubator-gobblin/pull/2647#discussion_r291025837
 
 

 ##########
 File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/modules/scheduler/GobblinServiceJobScheduler.java
 ##########
 @@ -170,6 +195,19 @@ private void scheduleSpecsFromCatalog() {
     }
   }
 
+  /**
+   * In DR-mode, the running {@link FlowSpec} will all be cancelled and 
rescheduled.
+   * We will need to make sure that running {@link FlowSpec}s' state are 
cleared, and corresponding running jobs are
+   * killed before rescheduling them.
+   * @param drUris The uris that applicable for DR discovered from FlowCatalog.
+   */
+  private void clearRunningFlowState(Iterator<URI> drUris) {
 
 Review comment:
   Actually the structure is pretty isolated since all additional thing added 
is calling this method. It shouldn't be very hard to migrate to a RESTful 
design. 
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 254897)
    Time Spent: 1h 20m  (was: 1h 10m)

> Clean Flow execution state when DR is enabled: Skeleton
> -------------------------------------------------------
>
>                 Key: GOBBLIN-781
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-781
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Lei Sun
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to