Correct handling of front-end running job count
The counter is really intended to reflect the count of running or suspended jobs rather than running jobs alone. Previous logic would report an underflow for the "job_cnt_run" variable if 1. job submitted 2. job suspended 3. scontrol reconfig 4. job cancelled
Showing
- src/slurmctld/front_end.c 2 additions, 1 deletionsrc/slurmctld/front_end.c
- src/slurmctld/job_mgr.c 2 additions, 1 deletionsrc/slurmctld/job_mgr.c
- src/slurmctld/read_config.c 1 addition, 1 deletionsrc/slurmctld/read_config.c
- src/slurmctld/slurmctld.h 1 addition, 1 deletionsrc/slurmctld/slurmctld.h
Loading
Please register or sign in to comment