This commit is contained in:
leif stawnyczy 2024-04-01 11:16:03 -04:00
parent c8b33881f0
commit eb852e06d6
1 changed files with 2 additions and 3 deletions

View File

@ -4,8 +4,7 @@
title: Batch2 Job Instance state transitions
---
stateDiagram-v2
[*] --> READY : on db create
READY --> QUEUED : on sending to db
[*] --> QUEUED : on db create and first chunk queued on kakfa
QUEUED --> IN_PROGRESS : on any work-chunk received by worker
%% and (see ca.uhn.fhir.batch2.progress.InstanceProgress.getNewStatus())
state first_step_finished <<choice>>
@ -75,6 +74,6 @@ stateDiagram-v2
ERROR --> on_receive : exception rollback\n triggers redelivery
%% terminal states
COMPLETED --> [*]
COMPLETED --> [*]
FAILED --> [*]
```