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 eece494 commit 6fcd0e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The following table lists the decision tasks stack produced by this workflow. It
| 24 | DecisionTaskScheduled | triggered by TimerFired
| 25 | DecisionTaskStarted |
| 26 | DecisionTaskCompleted |
| 27 | WorkflowCompleted | completed by decision
| 27 | WorkflowCompleted | completed by decision (the function call returned)

As you may observe that this stack has strict orders. The whole point of the table above is that if the code you write involves some orchestration by Cadence, either your worker or Cadence server, they produce decision tasks. When your workflow gets replayed, it will strive to reconstruct this stack. Therefore, code changes to your workflow needs to make sure that they do not mess up with these decision tasks, which trigger non-deterministic errors. Then let's explore different types of non-deterministic errors and their root causes.

Expand Down

0 comments on commit 6fcd0e9

Please sign in to comment.