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

kirs 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 6497231  fix bug-6277 submit-time error in parallel tasks. (#6278)
6497231 is described below

commit 649723132bc8276ef221c37e7014c0cf6772be60
Author: OS <[email protected]>
AuthorDate: Mon Sep 20 14:57:53 2021 +0800

    fix bug-6277 submit-time error in parallel tasks. (#6278)
---
 .../java/org/apache/dolphinscheduler/service/process/ProcessService.java | 1 +
 1 file changed, 1 insertion(+)

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 2543308..d02f005 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
@@ -1078,6 +1078,7 @@ public class ProcessService {
                     task = submitTask(taskInstance);
                     if (task != null && task.getId() != 0) {
                         submitDB = true;
+                        break;
                     }
                 }
                 if (!submitDB) {

Reply via email to