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 15:46:09 +0000 (17:46 +0200)
commit045694691691af1b10d1d055bdac55cf205e47de
treeff8ff9157c55f18ae45c3ea0d6556f143b13719a
parent4ff32a350bae0ebf9fa89163cb553d3158a577a8
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>
lib/jqueue.py