10
10
page_head("Server states");
13
A result's <b>server state</b> keeps track of
14
whether the result has been sent to a host,
15
and if so whether the host has finished it.
13
A tasks's <b>server state</b> indicates
14
whether the task has been sent to a computer,
15
and if so whether the computer has finished it.
16
16
Possible values are:
20
20
row2_plain("<b>Inactive</b>",
21
"The result is not ready to send
22
(for example, because its input files are unavailable)"
21
"The task is not ready to send
22
(for example, because its input files are unavailable)"
24
24
row2_plain("<b>Unsent</b>",
25
"The result is ready to send, but hasn't been sent yet."
25
"The task is ready to send, but hasn't been sent yet."
27
27
row2_plain("<b>In Progress</b>",
28
"The result has been sent; waiting for completion."
28
"The task has been sent; waiting for completion."
30
30
row2_plain("<b>Over</b>",
31
"The result has been sent to a host and either
32
it has timed out or the host has reported its completion."
31
"The task has been sent to a computer and either
32
it has timed out or the computer has reported its completion."
37
37
page_head("Outcomes");
40
A result's <b>outcome</b> is defined if
41
its server state is <b>over</b>.
40
A tasks's <b>outcome</b> is defined if its server state is <b>over</b>.
42
41
Possible values are:
46
45
row2_plain("<b>Unknown</b>",
47
"The result was sent to a client, but the client has not
46
"The task was sent to a computer, but the computer has not
48
47
yet completed the work and reported the outcome."
50
49
row2_plain("<b>Success</b>",
51
"A client completed the result successfully."
50
"A computer completed and reported the task successfully."
53
52
row2_plain("<b>Couldn't send</b>",
54
"The server wasn't able to send the result to a client
53
"The server wasn't able to send the task to a computer
55
54
(perhaps because its resource requirements were too large)"
57
56
row2_plain("<b>Client error</b>",
58
"The result was sent to a client and an error occurred."
57
"The task was sent to a computer and an error occurred."
60
59
row2_plain("<b>No reply</b>",
61
"The result was sent to a client
60
"The task was sent to a computer
62
61
and no reply was received within the time limit."
64
63
row2_plain("<b>Didn't need</b>",
65
"The result wasn't sent to a client because
66
enough other results were returned for this work unit."
64
"The task wasn't sent to a computer because
65
enough other tasks were completed for this workunit."
68
67
row2_plain("<b>Validate error</b>",
69
"The result was reported but could not be validated,
68
"The task was reported but could not be validated,
70
69
typically because the output files were lost on the server."
74
73
case "result_client_state":
75
74
page_head("Client states");
76
75
echo "<p>A result's <b>client state</b>
77
indicates the stage of processing at which
76
indicates the stage of processing at which an error occurred.
82
80
row2_plain("<b>New</b>",
83
"The client has not yet completed the work. Since the
84
processing is not over, the the final client state at
85
outcome is not yet known."
81
"The computer has not yet completed the task."
87
83
row2_plain("<b>Done</b>",
84
"The computer completed the task successfully."
90
86
row2_plain("<b>Downloading</b>",
91
"The client couldn't download the application or input files."
87
"The computer couldn't download the application or input files."
93
89
row2_plain("<b>Computing</b>",
94
90
"An error occurred during computation."
96
92
row2_plain("<b>Uploading</b>",
97
"The client couldn't upload the output files."
93
"The computer couldn't upload the output files."
102
98
page_head("Time reported and deadline");
105
A result's <b>Time reported or deadline</b> field depends
106
on whether the result has been reported yet:
101
A task's <b>Time reported or deadline</b> field depends
102
on whether the task has been reported yet: