You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "reele (via GitHub)" <gi...@apache.org> on 2025/01/30 23:01:17 UTC

[I] [Bug] [WorkflowExecutionGraph] isTaskFinish method is not working correctly. [dolphinscheduler]

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

   ### 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
   
   when a task was never executed, it won't be found in activeTaskExecutionRunnable/failureTaskChains/pausedTaskChains/killedTaskChains.
   `isTaskFinish` may return a wrong result:
   
   ![Image](https://github.com/user-attachments/assets/acdf4d50-7ff2-4016-8acd-35a8db2c0110)
   
   I think there need to mark completed tasks in an explicit manner.
   
   ### What you expected to happen
   
   ...
   
   ### How to reproduce
   
   set tasks in dag:
   a -> b
   b -> d
   c -> d
   
   when b never executed and c was finished, d will be executed.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [x] 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: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [WorkflowExecutionGraph] isTaskFinish method is not working correctly. [dolphinscheduler]

Posted by "ruanwenjun (via GitHub)" <gi...@apache.org>.
ruanwenjun commented on issue #16990:
URL: https://github.com/apache/dolphinscheduler/issues/16990#issuecomment-2635630119

   Good catch, we need to recursively judge whether its parents is in active list.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] [WorkflowExecutionGraph] isTaskFinish method is not working correctly. [dolphinscheduler]

Posted by "ruanwenjun (via GitHub)" <gi...@apache.org>.
ruanwenjun closed issue #16990: [Bug] [WorkflowExecutionGraph] isTaskFinish method is not working correctly.
URL: https://github.com/apache/dolphinscheduler/issues/16990


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org