Skip to content
Snippets Groups Projects
Commit 919dca43 authored by Danny Auble's avatar Danny Auble
Browse files

Merge remote-tracking branch 'origin/slurm-2.4'

parents 04cb3a63 8b0b5ae7
No related branches found
No related tags found
No related merge requests found
...@@ -116,6 +116,8 @@ documents those changes that are of interest to users and admins. ...@@ -116,6 +116,8 @@ documents those changes that are of interest to users and admins.
-- BGQ - Fix job step timeout actually happen when done from within an -- BGQ - Fix job step timeout actually happen when done from within an
allocation. allocation.
-- Reset node MAINT state flag when a reservation's nodes or flags change. -- Reset node MAINT state flag when a reservation's nodes or flags change.
-- Accounting - Fix issue where QOS usage was being zeroed out on a
slurmctld restart.
* Changes in SLURM 2.4.4 * Changes in SLURM 2.4.4
======================== ========================
......
...@@ -352,11 +352,15 @@ extern void assoc_mgr_remove_assoc_usage(slurmdb_association_rec_t *assoc); ...@@ -352,11 +352,15 @@ extern void assoc_mgr_remove_assoc_usage(slurmdb_association_rec_t *assoc);
extern int dump_assoc_mgr_state(char *state_save_location); extern int dump_assoc_mgr_state(char *state_save_location);
/* /*
* Read in the usage for association if the database * Read in the past usage for associations.
* is up when starting.
*/ */
extern int load_assoc_usage(char *state_save_location); extern int load_assoc_usage(char *state_save_location);
/*
* Read in the past usage for qos.
*/
extern int load_qos_usage(char *state_save_location);
/* /*
* Read in the information of the association mgr if the database * Read in the information of the association mgr if the database
* isn't up when starting. * isn't up when starting.
......
...@@ -390,6 +390,7 @@ int main(int argc, char *argv[]) ...@@ -390,6 +390,7 @@ int main(int argc, char *argv[])
way. If we get an error we can't do anything about it. way. If we get an error we can't do anything about it.
*/ */
load_assoc_usage(slurmctld_conf.state_save_location); load_assoc_usage(slurmctld_conf.state_save_location);
load_qos_usage(slurmctld_conf.state_save_location);
/* This thread is looking for when we get correct data from /* This thread is looking for when we get correct data from
the database so we can update the assoc_ptr's in the jobs the database so we can update the assoc_ptr's in the jobs
......
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