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

Don't run the init on the DBD. Addition to commit

226b49a3
parent 28dea960
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#include "src/common/xmalloc.h" #include "src/common/xmalloc.h"
#include "src/common/xstring.h" #include "src/common/xstring.h"
#include "src/slurmd/slurmstepd/slurmstepd_job.h" #include "src/slurmd/slurmstepd/slurmstepd_job.h"
#include "src/slurmdbd/read_config.h"
/* /*
** Define slurm-specific aliases for use by plugins, see slurm_xlator.h ** Define slurm-specific aliases for use by plugins, see slurm_xlator.h
...@@ -242,7 +243,7 @@ extern int jobacct_gather_init(void) ...@@ -242,7 +243,7 @@ extern int jobacct_gather_init(void)
char *type = NULL; char *type = NULL;
int retval=SLURM_SUCCESS; int retval=SLURM_SUCCESS;
if (init_run && g_context) if (slurmdbd_conf || (init_run && g_context))
return retval; return retval;
slurm_mutex_lock(&g_context_lock); slurm_mutex_lock(&g_context_lock);
......
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