Skip to content

Commit

Permalink
Update src/docs/05-go-client/19-workflow-non-deterministic-error.md
Browse files Browse the repository at this point in the history
Co-authored-by: Steven L <imgroxx@gmail.com>
  • Loading branch information
chopincode and Groxx authored May 7, 2024
1 parent 279a14c commit 4cf00ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permalink: /docs/go-client/workflow-non-deterministic-errors
# Workflow Non-deterministic errors

## Root cause of non-deterministic errors
Cadence workflows are designed as long-running operations, and therefore the workflow code you write must be deterministic so that no matter how many time it is executed it alwasy produce the same results.
Cadence workflows are designed as long-running operations, and therefore the workflow code you write must be deterministic so that no matter how many time it is executed it always produce the same results.

In production environment, your workflow code will run on a distributed system orchestrated by clusters of machines. However, machine failures are inevitable and can happen anytime to your workflow host. If you have a workflow running for long period of time, maybe months even years, and it fails due to loss of a host, it will be resumed on another machine and continue the rest of its execution.

Expand Down

0 comments on commit 4cf00ef

Please sign in to comment.