Skip to content
Snippets Groups Projects
Commit 48f623d9 authored by Morris Jette's avatar Morris Jette
Browse files

Fix for pack job state recovery on slurmctld restart

parent 0b7a7b4c
No related branches found
No related tags found
No related merge requests found
...@@ -13625,7 +13625,8 @@ static int _test_state_dir_flag(void *x, void *arg) ...@@ -13625,7 +13625,8 @@ static int _test_state_dir_flag(void *x, void *arg)
return 0; return 0;
} }
   
if (!job_ptr->batch_flag || !IS_JOB_PENDING(job_ptr)) if (!job_ptr->batch_flag || !IS_JOB_PENDING(job_ptr) ||
(job_ptr->pack_job_offset > 0))
return 0; /* No files expected */ return 0; /* No files expected */
   
error("Script for job %u lost, state set to FAILED", job_ptr->job_id); error("Script for job %u lost, state set to FAILED", job_ptr->job_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment