Job State
Introduction
The purpose of the job state algorithm is to provide a job recovery mechanism for the Panda pilot.
Whenever the pilot updates the Panda server with the progress of a job, it also creates/updates
a job state file with all information necessary for later job recovery. If there is a crash and the
job is lost, the job state file will remain in the job work directory for later recovery by a different pilot.
This new pilot will find the lost job state file and will attempt to recover the lost job. If the payload of the
lost job finished (but e.g. failed to transfer the data and log files), the job recovery algorithm will move
the log to the local SE and will register the data file.
Algorithm

Activity diagram for the job state algorithm.
Major updates:
--
PaulNilsson - 06 Oct 2006