Skip to content
Snippets Groups Projects
Commit 931090e7 authored by Mark Grondona's avatar Mark Grondona
Browse files

o do not set SLURMD_JOB_ALLOCATED every time a job step is copied

parent 159e591b
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,7 @@ shm_insert_step(job_step_t *step)
slurm_seterrno_ret(ENOSPC);
} else {
_shm_step_copy(&slurmd_shm->step[i], step);
slurmd_shm->step[i].state = SLURMD_JOB_ALLOCATED;
}
_shm_unlock();
......@@ -823,7 +824,6 @@ static void
_shm_step_copy(job_step_t *to, job_step_t *from)
{
memcpy(to, from, sizeof(job_step_t));
to->state = SLURMD_JOB_ALLOCATED;
/* addition of tasks is another step */
to->task_list = NULL;
......
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