wcmolin opened a new issue, #12568:
URL: https://github.com/apache/dolphinscheduler/issues/12568

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   version 2.0.7
   
   The retry task was submitted in advance will block other task, because it 
was not removed from readyToSubmitTaskQueue
   
   ### What you expected to happen
   
   should not block the submission of other tasks
   
   ### How to reproduce
   
   Node P1:
   
![1](https://user-images.githubusercontent.com/11606262/198248051-53e90717-3a3e-43cf-a511-0b652bdd69af.png)
   
   Node P2:
   
![2](https://user-images.githubusercontent.com/11606262/198248111-ac5c342c-bae2-4e5a-85c5-e66041f848f3.png)
   
   Node F1:
   
![3](https://user-images.githubusercontent.com/11606262/198248064-83315cdf-9143-45bc-a46d-33b0ca15a91e.png)
   
   Node F2:
   
![4](https://user-images.githubusercontent.com/11606262/198248084-9f15558d-2322-4655-b93d-08e854b77b4b.png)
   
   Normally, P2 should be executed immediately after P1 ends, but P2 does not 
execute until F1 waits for two minutes to retry.
   There are task instances:
   
![5](https://user-images.githubusercontent.com/11606262/198248512-98b7ea48-4b42-4e40-917e-a761c2326def.png)
   
   This is the log for master:
   ```
   TASK_STATE_CHANGE executeStatus: SUCCESS task instance id: 84 process 
instance id: 41 context: null
   [INFO] 2022-10-27 14:55:41.651 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[423] - 
work flow 41 task 84 state:SUCCESS
   [INFO] 2022-10-27 14:55:41.691 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1376] - 
add task to stand by list, task name:P2, task id:0, task code:7349842754880
   [INFO] 2022-10-27 14:55:41.693 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1484] - 
task name: F1 retry waiting has not exceeded the interval time, and skip 
submission this time, task id:85
   [INFO] 2022-10-27 14:55:41.695 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1484] - 
task name: F1 retry waiting has not exceeded the interval time, and skip 
submission this time, task id:85
   [INFO] 2022-10-27 14:57:35.661 
org.apache.dolphinscheduler.server.master.runner.EventExecuteService:[127] - 
handle process instance : 41 , events count:1
   [INFO] 2022-10-27 14:57:35.665 
org.apache.dolphinscheduler.server.master.runner.EventExecuteService:[130] - 
already exists handler process size:0
   ```
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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