Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Oct 13, 2023
1 parent 7f6d4a7 commit 0c9d6fc
Showing 1 changed file with 4 additions and 74 deletions.
78 changes: 4 additions & 74 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<choice>>
chk1 --> scan1_failed
scan1_failed --> rei1 : Scan previously failed
scan1_failed --> pro1 : No error log found
rei1 --> [*]
pro1 --> ter1
state scan1_term <<choice>>
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 <<choice>>
sta1 --> scan1_stall
scan1_stall --> res1: Progress file is stale
scan1_stall --> [*] : Progress was updated recently
res1 --> [*]
[*] --> ...
... --> [*]
}
--
state CheckBadgerScan2 {
[*] --> chk2
state scan2_failed <<choice>>
chk2 --> scan2_failed
scan2_failed --> rei2 : Scan previously failed
scan2_failed --> pro2 : No error log found
rei2 --> [*]
pro2 --> ter2
state scan2_term <<choice>>
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 <<choice>>
sta2 --> scan2_stall
scan2_stall --> res2: Progress file is stale
scan2_stall --> [*] : Progress was updated recently
res2 --> [*]
[*] --> ...
... --> [*]
}
--
state CheckBadgerScanN {
Expand Down

0 comments on commit 0c9d6fc

Please sign in to comment.