From f8a38c4826969d9ad4c2637d1dbdd35329c2821e Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Tue, 27 May 2014 15:05:42 -0700 Subject: [PATCH] Clear completing node bitmap on job requeue When a batch job requeue completes, clear it's bitmap of completing nodes. If the bitmap were to persist, and nodes are added/remove in slurm.conf, and "scontrol reconfigure" is executed, and one of the bits in that bitmap now point to a DOWN node, avoid killing the job. bug 805 --- src/slurmctld/job_mgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c index a3d14d2cf70..87127becc34 100644 --- a/src/slurmctld/job_mgr.c +++ b/src/slurmctld/job_mgr.c @@ -10143,6 +10143,7 @@ void batch_requeue_fini(struct job_record *job_ptr) xfree(job_ptr->nodes); xfree(job_ptr->nodes_completing); FREE_NULL_BITMAP(job_ptr->node_bitmap); + FREE_NULL_BITMAP(job_ptr->node_bitmap_cg); if (job_ptr->details) { /* the time stamp on the new batch launch credential must be * larger than the time stamp on the revoke request. Also the -- GitLab