跳到主要内容
当前查看的是 1.37.x。最新版本为 1.45.x。

Step methods and commits

查看 Markdown

Each WaitFor or Execute invocation is a separate commit boundary. Dex Server stages the Attribute writes and Channel publications from that method, then commits them with its Wait or StepDecision only after the method returns successfully. If the method fails, none of those durable changes are committed. WaitFor and Execute do not share a commit. External API calls are outside this atomic boundary.

Before its final Wait or StepDecision, a handler can send heartbeat checkpoints and any number of best-effort Stream messages. The response stream must end with exactly one final result. These progress frames are not part of the method's commit, and a Stream Store failure does not fail the Step.