24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
sequenceDiagram
|
|
participant Coordinator
|
|
participant DB as Durable attempt status
|
|
participant Steps as Child step owners
|
|
|
|
Note over Coordinator,DB: Attempt is still running but its walk no longer executes
|
|
Coordinator->>DB: Detect running attempt without active walk
|
|
alt Process still alive after lost settle
|
|
Coordinator->>DB: Read actual step results
|
|
Coordinator->>DB: Close attempt as partial or failed with cause INTERRUPTED
|
|
else Process restarted after stop
|
|
Coordinator->>DB: Read actual step results
|
|
Coordinator->>DB: Close abandoned attempt as partial or failed with cause INTERRUPTED
|
|
end
|
|
DB-->>Coordinator: Attempt is terminal, no overlap possible
|
|
Coordinator->>DB: Reserve next attempt at next hourly term from attempt start
|
|
alt Next term reached
|
|
DB-->>Coordinator: Successor attempt starts
|
|
Steps->>DB: Late publication from previous attempt
|
|
DB-->>Steps: Publication rejected as stale relative to successor
|
|
else Next term not reached
|
|
DB-->>Coordinator: No work (not-due)
|
|
end
|