You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by lg...@apache.org on 2020/04/26 07:58:12 UTC

[incubator-dolphinscheduler] branch dev updated: #2499 bug fix (#2527)

This is an automated email from the ASF dual-hosted git repository.

lgcareer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 9f32f2d  #2499 bug fix (#2527)
9f32f2d is described below

commit 9f32f2db66a5004da2aaf62aa62aa15427333fba
Author: qiaozhanwei <qi...@outlook.com>
AuthorDate: Sun Apr 26 15:58:05 2020 +0800

    #2499 bug fix (#2527)
    
    * dispatch task fail will set task status failed
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,no worker condition , master will while ture wait for worker startup
    2,worker response task status sync wait for result
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * 1,task status statistics and process status statistics bug fix (#2357)
    2,worker group bug fix
    
    * send mail error, #2466 bug fix
    
    * send mail error, #2466 bug fix
    
    * send mail error, #2466 bug fix
    
    * send mail error, #2466 bug fix
    
    * #2486 bug fix
    
    * host and workergroup compatible
    
    * EnterpriseWeChatUtils modify
    
    * EnterpriseWeChatUtils modify
    
    * EnterpriseWeChatUtils modify
    
    * #2499 bug fix
    
    * add comment
    
    * revert comment
    
    * revert comment
    
    * #2499 buf fix
    
    * #2499 bug fix
    
    * #2499 bug fix
    
    * #2499 bug fix
    
    * #2499 bug fix
    
    * #2499 bug fix
    
    * #2499 bug fix
    
    Co-authored-by: qiaozhanwei <qi...@analysys.com.cn>
---
 .../org/apache/dolphinscheduler/service/process/ProcessService.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java
index c69ea34..26462d2 100644
--- a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java
+++ b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java
@@ -119,6 +119,10 @@ public class ProcessService {
             logger.info("there is not enough thread for this command: {}", command);
             return setWaitingThreadProcess(command, processInstance);
         }
+        if (processInstance.getCommandType().equals(CommandType.RECOVER_TOLERANCE_FAULT_PROCESS)){
+            delCommandByid(command.getId());
+            return null;
+        }
         processInstance.setCommandType(command.getCommandType());
         processInstance.addHistoryCmd(command.getCommandType());
         saveProcessInstance(processInstance);