From ab64e75b1d13b28d55f4bd0652c876482919acc3 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Thu, 29 Aug 2013 14:28:22 -0700
Subject: [PATCH] remove last comment,  it is documented in job_mgr.c as
 this...

/* Current code (<= 2.1) has it so we start the new
 * job with the next step id.  This could be used
 * when restarting to figure out which step the
 * previous run of this job stopped on. */
---
 NEWS                    | 1 -
 src/slurmctld/job_mgr.c | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/NEWS b/NEWS
index b811e0dcfc0..c34a2c38f81 100644
--- a/NEWS
+++ b/NEWS
@@ -19,7 +19,6 @@ documents those changes that are of interest to users and admins.
  -- Fix for invalid memory reference due to multiple free calls caused by
     job arrays submitted to multiple partitions.
  -- Enforce --ntasks-per-socket=1 job option when allocating by socket.
- -- When a job is requeued reset the step id's back to 0.
 
 * Changes in Slurm 2.6.1
 ========================
diff --git a/src/slurmctld/job_mgr.c b/src/slurmctld/job_mgr.c
index a5b02905c19..c8e49454986 100644
--- a/src/slurmctld/job_mgr.c
+++ b/src/slurmctld/job_mgr.c
@@ -9948,9 +9948,6 @@ extern int job_requeue (uid_t uid, uint32_t job_id, slurm_fd_t conn_fd,
 	job_ptr->suspend_time = (time_t) 0;
 	job_ptr->tot_sus_time = (time_t) 0;
 
-	/* reset the next_step_id */
-	job_ptr->next_step_id = 0;
-
 	job_ptr->restart_cnt++;
 	/* Since the job completion logger removes the submit we need
 	 * to add it again. */
-- 
GitLab