Skip to content

Commit

Permalink
Update states.md
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady authored Jan 8, 2024
1 parent f06833f commit afa9d85
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion design/queue-2023/states.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
- submitter
- manifest type
- filename (ie checkm file)
- last successful state (for restart)

### State Transitions
- (None) --> Pending
- Pending --> Held
- Pending --> Processing
- Held --> Processing (admin function)
- Processing --> Failed
- Processing --> Reporting
- Reporting --> Failed (Reporting)
- Reporting --> Completed
- Failed --> Processing
- Failed --> Deleted (admin function)
- Held --> Deleted (admin function)

## Job Queue

Expand Down Expand Up @@ -58,4 +72,27 @@
- digest type
- digest value
- space needed (estimating)
- resource needed (once we introduce dynamic provisioning)
- resource needed (once we introduce dynamic provisioning)
- last successful state (for restart)

### State Transitions
- (None) --> Pending
- Pending --> Held
- Pending --> Estimating
- Held --> Estimating (admin function)
- Estimating --> Provisioning
- Estimating --> Failed (estimating)
- Provisioning --> Downloading
- Provisioning --> Failed (provisioning)
- Downloading --> Processing
- Downloading --> Failed (downloading)
- Processing --> Recording
- Processing --> Failed (processing)
- Recording --> Completed
- Recording --> Failed (recording)
- Failed --> Estimating
- Failed --> Provisioning
- Failed --> Downloading
- Failed --> Processing
- Failed --> Recording
- Failed --> Deleted (admin function)

0 comments on commit afa9d85

Please sign in to comment.