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

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


The following commit(s) were added to refs/heads/dev by this push:
     new 182b9c9b26 [Feature][Master] Failover workflow instance base on 
priority (#10754)
182b9c9b26 is described below

commit 182b9c9b26acf9e375a1b6fd1813c5d9bfd16104
Author: zhuxt2015 <[email protected]>
AuthorDate: Mon Jul 4 23:35:24 2022 +0800

    [Feature][Master] Failover workflow instance base on priority (#10754)
    
    * failover workflow instance base on priority
---
 .../org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java
 
b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java
index 328a3a0f75..7eab795257 100644
--- 
a/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java
+++ 
b/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java
@@ -2075,6 +2075,7 @@ public class ProcessServiceImpl implements ProcessService 
{
         cmd.setCommandParam(String.format("{\"%s\":%d}", 
Constants.CMD_PARAM_RECOVER_PROCESS_ID_STRING, processInstance.getId()));
         cmd.setExecutorId(processInstance.getExecutorId());
         cmd.setCommandType(CommandType.RECOVER_TOLERANCE_FAULT_PROCESS);
+        
cmd.setProcessInstancePriority(processInstance.getProcessInstancePriority());
         createCommand(cmd);
     }
 

Reply via email to