diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index c16ca5b..68518f5 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -77,94 +77,24 @@ fork2 --> CheckBadgerScan2 fork2 --> CheckBadgerScanN state PollInProgressScansForStatus { - chk1: CheckForFailure - chk2: CheckForFailure chk3: CheckForFailure - rei1: BadgerInit - rei2: BadgerInit rei3: BadgerInit - pro1: ExtractProgress - pro2: ExtractProgress pro3: ExtractProgress - ter1: CheckForTermination - ter2: CheckForTermination ter3: CheckForTermination - fin1: ExtractResults - fin2: ExtractResults fin3: ExtractResults - fai1: ExtractErrorLog - fai2: ExtractErrorLog fai3: ExtractErrorLog - del1: DeleteDroplet - del2: DeleteDroplet del3: DeleteDroplet - sta1: CheckForStall - sta2: CheckForStall sta3: CheckForStall - res1: RestartScan - res2: RestartScan res3: RestartScan state CheckBadgerScan1 { - [*] --> chk1 - - state scan1_failed <> - chk1 --> scan1_failed - scan1_failed --> rei1 : Scan previously failed - scan1_failed --> pro1 : No error log found - - rei1 --> [*] - - pro1 --> ter1 - - state scan1_term <> - ter1 --> scan1_term - scan1_term --> fin1 : Scan finished - scan1_term --> fai1: Scan failed - scan1_term --> sta1 : Scan is still running - - fin1 --> del1 - fai1 --> del1 - - del1 --> [*] - - state scan1_stall <> - sta1 --> scan1_stall - scan1_stall --> res1: Progress file is stale - scan1_stall --> [*] : Progress was updated recently - - res1 --> [*] + [*] --> ... + ... --> [*] } -- state CheckBadgerScan2 { - [*] --> chk2 - - state scan2_failed <> - chk2 --> scan2_failed - scan2_failed --> rei2 : Scan previously failed - scan2_failed --> pro2 : No error log found - - rei2 --> [*] - - pro2 --> ter2 - - state scan2_term <> - ter2 --> scan2_term - scan2_term --> fin2 : Scan finished - scan2_term --> fai2: Scan failed - scan2_term --> sta2 : Scan is still running - - fin2 --> del2 - fai2 --> del2 - - del2 --> [*] - - state scan2_stall <> - sta2 --> scan2_stall - scan2_stall --> res2: Progress file is stale - scan2_stall --> [*] : Progress was updated recently - - res2 --> [*] + [*] --> ... + ... --> [*] } -- state CheckBadgerScanN {