WangJPLeo commented on code in PR #11004:
URL: https://github.com/apache/dolphinscheduler/pull/11004#discussion_r922302810


##########
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java:
##########
@@ -2989,7 +2988,7 @@ public TaskInstance releaseTaskGroup(TaskInstance 
taskInstance) {
             return null;
         }
         try {
-            while (taskGroupMapper.releaseTaskGroupResource(taskGroup.getId(), 
taskGroup.getUseSize()
+            while (thisTaskGroupQueue.getForceStart() != 1 && 
taskGroupMapper.releaseTaskGroupResource(taskGroup.getId(), 
taskGroup.getUseSize()
                 , thisTaskGroupQueue.getId(), 
TaskGroupQueueStatus.ACQUIRE_SUCCESS.getCode()) != 1) {

Review Comment:
   Excellent, you can add a desc of the modification reason in purpose.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to