jqueue: Look at archived jobs when watching
authorMichael Hanselmann <hansmi@google.com>
Fri, 5 Oct 2012 02:36:42 +0000 (04:36 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 5 Oct 2012 16:14:10 +0000 (18:14 +0200)
commite4cf42d45f925f9d42687e6eaacda0ab91805de2
treec83a43854b48d133140117f0b7eff23126849459
parentf0f8d06094183aac91f1aa2151c529e3f18912b2
jqueue: Look at archived jobs when watching

First: This enables the use of “gnt-job watch $id” for archived jobs.

Now, the reason for actually making this work is that during
sufficiently large group or node evacuations jobs are archived before
the client gets to poll for their output. This led to situations where
the jobs would finish successfully, but the client reported an error
because it couldn't see the job anymore.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
(cherry picked from commit 045694691691af1b10d1d055bdac55cf205e47de)
lib/jqueue.py