From a2fc224d43a702025620dfbc350d9978d6768b0e Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Mon, 17 Sep 2012 12:20:25 -0700 Subject: [PATCH] DBD - if list is filling up remove step_complete messages as well since they are a no-opt when they get to the DBD and we would favor having job completion messages instead of step completion messages if possible. --- src/common/slurmdbd_defs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/slurmdbd_defs.c b/src/common/slurmdbd_defs.c index 33856aa873a..93e52c67aa5 100644 --- a/src/common/slurmdbd_defs.c +++ b/src/common/slurmdbd_defs.c @@ -2421,7 +2421,8 @@ static int _purge_job_start_req(void) unpack16(&msg_type, buffer); set_buf_offset(buffer, offset); if ((msg_type == DBD_JOB_START) || - (msg_type == DBD_STEP_START)) { + (msg_type == DBD_STEP_START) || + (msg_type == DBD_STEP_COMPLETE)) { list_remove(iter); purged++; } -- GitLab