Skip to content

[Improvement][Master] Initialize WorkflowGraph/WorkflowExecutionGraph when WorkflowStartLifecycleEvent fired. #17751

@ruanwenjun

Description

@ruanwenjun

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

It's better not initialize WorkflowGraph/WorkflowExecutionGraph when handle command, and initialize these when start event fired.
The advantage is that we can reduce transaction time when processing commands, and once initialize graph failed, we can trigger a workflow instance failure event.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions