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