dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Complement] A workflow that depends on multiple workflows is launched with multiple instances.

Open F7kyyy opened this issue 4 months ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

What happened

When there is a diamond-shaped dependency structure, if backfill is performed with "dependency mode" and "all leveldependent" enabled, and workflow A is executed, workflow C will be triggered twice.

Image

Image

What you expected to happen

Because C depends on B1 and B2, it should only be executed once.

How to reproduce

Workflow A Workflow B1, dependent on A (A → B1) Workflow B2, dependent on A (A → B2) Workflow C, dependent on both B1 and B2 (B1 → C and B2 → C)

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

F7kyyy avatar Sep 24 '25 09:09 F7kyyy

Hi @F7kyyy I tried to reproduce the issue but was unsuccessful. In complement mode, when running workflow A, the downstream workflows B1 and B2 are not triggered. What specific configuration is required to reproduce the diamond dependency scenario where workflow C gets triggered twice?

dill21yu avatar Dec 04 '25 02:12 dill21yu