refactor job step delete logic
Call delete_step_records() before clearing the job's JOB_COMPLETING state flag. This would make a difference in the case of jobs automatically requeued based upon their exit code, but probably not in other cases. Also in the select plugins, check not only for a job state of JOB_COMPLETING, but also FINISHED states. In either case, we are not in a position to gracefully clean up the step.
Showing
- src/plugins/select/bluegene/select_bluegene.c 2 additions, 1 deletionsrc/plugins/select/bluegene/select_bluegene.c
- src/plugins/select/cray/select_cray.c 2 additions, 1 deletionsrc/plugins/select/cray/select_cray.c
- src/slurmctld/job_mgr.c 5 additions, 5 deletionssrc/slurmctld/job_mgr.c
- src/slurmctld/job_scheduler.c 1 addition, 1 deletionsrc/slurmctld/job_scheduler.c
- src/slurmctld/node_scheduler.c 3 additions, 3 deletionssrc/slurmctld/node_scheduler.c
Loading
Please register or sign in to comment