update state diagram

This commit is contained in:
leif stawnyczy 2024-04-01 11:13:34 -04:00
parent 5a9b0f317b
commit c8b33881f0
1 changed files with 3 additions and 2 deletions

View File

@ -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 --> [*]
``` ```