45 | | * Transitioner sets COULDNT_SEND_RESULT if some result couldn't be sent. |
46 | | * Transitioner sets TOO_MANY_RESULTS if too many error results. |
47 | | * Transitioner sets TOO_MANY_TOTAL_RESULTS if too many total results. |
48 | | * Validator sets TOO_MANY_SUCCESS_RESULTS if no consensus and too many success results. |
| 45 | * Transitioner sets COULDNT_SEND_RESULT (1) if some result couldn't be sent. |
| 46 | * Transitioner sets TOO_MANY_RESULTS (2) if too many error results. |
| 47 | * Validator sets TOO_MANY_SUCCESS_RESULTS (4) if no consensus and too many success results. |
| 48 | * Transitioner sets TOO_MANY_TOTAL_RESULTS (8) if too many total results. |
69 | | * Initially UNSENT. |
70 | | * Set by scheduler to IN_PROGRESS when send result. |
71 | | * Set by scheduler to OVER when result is reported in request message from client. |
72 | | * Set by scheduler to OVER when it thinks host has detached project. |
73 | | * Set by transitioner to OVER if now > result.report_deadline. |
74 | | * Set by transitioner to OVER if WU has error condition and result.server_state = UNSENT. |
75 | | * Set by validator to OVER if WU has canonical result and result.server_state = UNSENT. |
| 69 | * Initially UNSENT (2). |
| 70 | * Set by scheduler to IN_PROGRESS (4) when send result. |
| 71 | * Set by scheduler to OVER (5) when result is reported in request message from client. |
| 72 | * Set by scheduler to OVER (5) when it thinks host has detached project. |
| 73 | * Set by transitioner to OVER (5) if now > result.report_deadline. |
| 74 | * Set by transitioner to OVER (5) if WU has error condition and result.server_state = UNSENT. |
| 75 | * Set by validator to OVER (5) if WU has canonical result and result.server_state = UNSENT. |
79 | | * Set by scheduler to SUCCESS if get reply and no client error. |
80 | | * Set by scheduler to CLIENT_ERROR if get reply and client error. |
81 | | * Set by scheduler to NO_REPLY if it thinks host has detached project. |
82 | | * Set by transitioner to NO_REPLY if server_state = IN_PROGRESS and now < report_deadline. |
83 | | * Set by transitioner to DIDNT_NEED if WU has error condition and result.server_state = UNSENT. |
84 | | * Set by validator to DIDNT_NEED if WU has canonical result and result.server_state = UNSENT. |
85 | | * Set by validator to VALIDATE_ERROR if outcome was initially SUCCESS, but the validator had a permanent error reading a result file, or a file had a syntax error. Prevents the validator from trying again. |
86 | | * Set by scheduler to CLIENT_DETACHED if it gets a request indicating that the client detached, then reattached. |
| 79 | * Set by scheduler to SUCCESS (1) if get reply and no client error. |
| 80 | * Set by scheduler to CLIENT_ERROR (3) if get reply and client error. |
| 81 | * Set by scheduler to NO_REPLY (4) if it thinks host has detached project. |
| 82 | * Set by transitioner to NO_REPLY (4) if server_state = IN_PROGRESS and now < report_deadline. |
| 83 | * Set by transitioner to DIDNT_NEED (5) if WU has error condition and result.server_state = UNSENT. |
| 84 | * Set by validator to DIDNT_NEED (5) if WU has canonical result and result.server_state = UNSENT. |
| 85 | * Set by validator to VALIDATE_ERROR (6) if outcome was initially SUCCESS, but the validator had a permanent error reading a result file, or a file had a syntax error. Prevents the validator from trying again. |
| 86 | * Set by scheduler to CLIENT_DETACHED (7) if it gets a request indicating that the client detached, then reattached. |
92 | | * Initially INIT. |
93 | | * Set by transitioner to READY if this is the canonical result, and file_delete_state = INIT, and wu.assimilate_state = DONE, and all the results have server_state = OVER, and all all the results with outcome = SUCCESS have validate_state <> INIT. |
94 | | * Set by transitioner to READY if wu.assimilate_state = DONE and result.outcome = CLIENT_ERROR or result.validate_state != INIT. |
| 92 | * Initially INIT (0). |
| 93 | * Set by transitioner to READY (1) if this is the canonical result, and file_delete_state = INIT, and wu.assimilate_state = DONE, and all the results have server_state = OVER, and all all the results with outcome = SUCCESS have validate_state <> INIT. |
| 94 | * Set by transitioner to READY (1) if wu.assimilate_state = DONE and result.outcome = CLIENT_ERROR or result.validate_state != INIT. |