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 57f59a0 commit 7f6d4a7
Showing 1 changed file with 71 additions and 11 deletions.
82 changes: 71 additions & 11 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,32 @@ fork2 --> CheckBadgerScanN
state PollInProgressScansForStatus {
chk1: CheckForFailure
err2: CheckForFailure
err3: CheckForFailure
chk2: CheckForFailure
chk3: CheckForFailure
rei1: BadgerInit
rei2: BadgerInit
rei3: BadgerInit
pro1: ExtractProgress
ter1: CheckForTermination
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
Expand Down Expand Up @@ -125,17 +137,65 @@ state PollInProgressScansForStatus {
}
--
state CheckBadgerScan2 {
[*] --> err2
err2 --> pro2
pro2 --> sta2
sta2 --> [*]
[*] --> 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 {
[*] --> err3
err3 --> pro3
pro3 --> sta3
sta3 --> [*]
[*] --> chk3
state scan3_failed <<choice>>
chk3 --> scan3_failed
scan3_failed --> rei3 : Scan previously failed
scan3_failed --> pro3 : No error log found
rei3 --> [*]
pro3 --> ter3
state scan3_term <<choice>>
ter3 --> scan3_term
scan3_term --> fin3 : Scan finished
scan3_term --> fai3: Scan failed
scan3_term --> sta3 : Scan is still running
fin3 --> del3
fai3 --> del3
del3 --> [*]
state scan3_stall <<choice>>
sta3 --> scan3_stall
scan3_stall --> res3: Progress file is stale
scan3_stall --> [*] : Progress was updated recently
res3 --> [*]
}
}
Expand Down

0 comments on commit 7f6d4a7

Please sign in to comment.