You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2023/06/12 11:40:35 UTC
[dolphinscheduler] branch dev updated: Fix the complement function does not generate the next running instances in parallel mode (#14335)
This is an automated email from the ASF dual-hosted git repository.
kerwin 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 75f4fa2881 Fix the complement function does not generate the next running instances in parallel mode (#14335)
75f4fa2881 is described below
commit 75f4fa288176c5466db69381bd5b62413b31e945
Author: Kerwin <37...@users.noreply.github.com>
AuthorDate: Mon Jun 12 19:40:26 2023 +0800
Fix the complement function does not generate the next running instances in parallel mode (#14335)
---
.../dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
index 4258b672dc..1564adbc14 100644
--- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
+++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
@@ -732,8 +732,9 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> {
command.setProcessInstanceId(0);
command.setProcessDefinitionVersion(processInstance.getProcessDefinitionVersion());
command.setTestFlag(processInstance.getTestFlag());
+ int create = commandService.createCommand(command);
processService.saveCommandTrigger(command.getId(), processInstance.getId());
- return commandService.createCommand(command);
+ return create;
}
private boolean needComplementProcess() {