apache / apache/dolphinscheduler

[Bug] [dolphinscheduler-api] When a sub-process task is at the first node of the main process, the program does not check whether the sub-process is online. It will directly run the sub-process even if the sub-process task has not been deployed

Open
#17,007 2 comments 0 reactions 1 assignee Claimed by @MaryaAlamzeb View on GitHub
bug priority:middle
Dominant language
Java
Stars
14.5k
Forks
5.1k
Avg merge
1d 21h
Merged PRs (30d)
28

Description

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

dolphinscheduler version : 3.1.0
When a sub-process task is at the first node of the main process, the program does not check whether the sub-process is online. It will directly run the sub-process even if the sub-process task has not been deployed.

### What you expected to happen

Image
I think this query method will skip the sub-process task when a sub-process task is placed at the first node of the main process.

### How to reproduce

Place the offline sub-process tasks at the beginning of the main process and run the main process.

### Anything else

_No response_

### Version

3.1.x

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.