Using "scontrol update job=10 priority=0" set the job in JobHeldUser/JobHeldAdmin state. But if we use "scontrol update job=10 priority=10", of course priotity is not changed, there is no error. Then with "scontrol release job=10", we can see the priority is reset to initial one, but not to 10. Maybe an error can printed when trying to change the priority of an held job? Something like: @file job_mgr.c : info("ignore priority reset request on held job %u", job_ptr->job_id); + error_code = ESLURM_JOB_HELD; Thomas
Committed in: https://github.com/SchedMD/slurm/commit/3f91f4b2c04526c410f94e94974192af55f2ba53
As you used the solution I proposed, why Nathan is the author of the commit?
My mistake. It's fixed in the commit: https://github.com/SchedMD/slurm/commit/cd86abea2fe2eb44979056964b0c00211a8b509f
Thank you, I see it but in: https://github.com/SchedMD/slurm/commit/d798caa9665a188be62eac630fdee5fa3bda58c8