Before all jobs that were detected dead were automatically marked as failed. This wasn't correct, as it can happen that a finished job is detected dead before it's cleaned up by the main queue thread (see issue #844). This patch series fixes the problem.
Petr Pudlak (4): Add a list of jobs that are being manipulated to the queue Add helper function for working on a running job When a dead job is detected, just check its error status Count manipulated jobs when selecting jobs to run src/Ganeti/JQScheduler.hs | 93 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 65 insertions(+), 28 deletions(-) -- 1.9.1.423.g4596e3a
