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

Fix for pack job batch job check

Don't requeue a batch pack job component that is not found node zero of
the allocation. Only the first pack job component is expected to have a
running script.
parent e4cb80f5
No related branches found
No related tags found
No related merge requests found
...@@ -13325,6 +13325,7 @@ static void _purge_missing_jobs(int node_inx, time_t now) ...@@ -13325,6 +13325,7 @@ static void _purge_missing_jobs(int node_inx, time_t now)
startup_time = batch_startup_time; startup_time = batch_startup_time;
   
if ((job_ptr->batch_flag != 0) && if ((job_ptr->batch_flag != 0) &&
(job_ptr->pack_job_offset == 0) &&
(job_ptr->time_last_active < startup_time) && (job_ptr->time_last_active < startup_time) &&
(job_ptr->start_time < startup_time) && (job_ptr->start_time < startup_time) &&
(node_inx == bit_ffs(job_ptr->node_bitmap))) { (node_inx == bit_ffs(job_ptr->node_bitmap))) {
......
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