From 6146a6a40b12c3d300f7f3f13c17d23b9c552a0d Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Mon, 6 Jun 2005 22:58:29 +0000
Subject: [PATCH] If a slurmd goes DOWN with a COMPLETING job, then mark that
 job as COMPLETED and the node as DOWN (rather than leave COMPLETING).

---
 NEWS                       | 5 +++++
 src/slurmctld/ping_nodes.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index fa658a423f4..d4d7273f70a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 This file describes changes in recent versions of SLURM. It primarily
 documents those changes that are of interest to users and admins. 
 
+* Changes in SLURM 0.5.0-pre9
+=============================
+ -- If a job and node are in COMPLETING state and slurmd stops responding for
+    SlurmdTimeout, then set the node DOWN and the job COMPLETED.
+ 
 * Changes in SLURM 0.5.0-pre8
 =============================
  -- BlueGene srun --geometry was not getting propogated properly.
diff --git a/src/slurmctld/ping_nodes.c b/src/slurmctld/ping_nodes.c
index 9bbf8a27803..ad40cec4f44 100644
--- a/src/slurmctld/ping_nodes.c
+++ b/src/slurmctld/ping_nodes.c
@@ -168,7 +168,6 @@ void ping_nodes (void)
 		if ((node_ptr->last_response != (time_t)0) &&
 		    (node_ptr->last_response <= node_dead_time) &&
 		    ((base_state != NODE_STATE_DOWN) &&
-		     (base_state != NODE_STATE_COMPLETING) &&
 		     (base_state != NODE_STATE_DRAINED))) {
 			if (down_hostlist)
 				(void) hostlist_push_host(down_hostlist,
-- 
GitLab