This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
@Jiehong Your understanding is correct.
There are no blanket timeouts for System task execution, but task specific timeouts still apply. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
SystemTasks can be async or not (default):
conductor/core/src/main/java/com/netflix/conductor/core/execution/tasks/WorkflowSystemTask.java
Line 63 in 38379b8
However, the way they are handled is not entirely clear to me, and I couldn't find any doc per say.
This is what I've got so far, but correct me if I'm wrong:
Async = false, system tasks only
Conductor will decide if the task must start or not based on a previous action.
Ex: start a workflow -> first system task is created and
start
is called.Ex: task M is updated by a worker -> task N is scheduled by conductor, and
start
is called.Async = true, system tasks only
Conductor defers things to a queue.
If the system task is the only one in the workflow:
conductor/core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java
Line 1505 in 586dc3e
start
orexecute
is called (conductor/core/src/main/java/com/netflix/conductor/core/execution/AsyncSystemTaskExecutor.java
Line 116 in 586dc3e
execute
after workflow.system.task.worker.callback.seconds.Is that correct?
Also, is there a timeout each time a system task's
start
orexecute
method is called?Beta Was this translation helpful? Give feedback.
All reactions