Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

How conductor server behaves if its down while workflow execution #3501

Answered by v1r3n
rskTech asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rskTech

Conductor server manages the state outside in the persistence layer. This means in the above example, the workflow will resume where it left off. However, the task 2 worker when it tries to update the server will receive the failure if the server is down. There are two choices here:

  1. Don't do anything, in that case the server will see the task as in progress and if there is a timeout set on the task, will reschedule the task. On the worker side, you will see that the retryCount for the task is 2 and you can implement the logic to skip running the actual work and just update it to COMPLETED status.
  2. When the worker tries to update the task it will receive the failure, persist th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rskTech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants