From 90831d4b775ca4eb2702c045cc492582b4bf64f7 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 12 Jun 2023 09:05:56 +0200 Subject: [PATCH] Use more specific Job status when verify job is waiting for SD or FD --- bacula/src/dird/verify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/dird/verify.c b/bacula/src/dird/verify.c index 07a4d5a7a..d69a03747 100644 --- a/bacula/src/dird/verify.c +++ b/bacula/src/dird/verify.c @@ -272,7 +272,7 @@ bool do_verify(JCR *jcr) /* * Start conversation with Storage daemon */ - jcr->setJobStatus(JS_Blocked); + jcr->setJobStatus(JS_WaitSD); if (!connect_to_storage_daemon(jcr, 10, SDConnectTimeout, 1)) { Jmsg(jcr, M_FATAL, 0, "%s", jcr->errmsg); return false; @@ -307,7 +307,7 @@ bool do_verify(JCR *jcr) * OK, now connect to the File daemon * and ask him for the files. */ - jcr->setJobStatus(JS_Blocked); + jcr->setJobStatus(JS_WaitFD); if (!connect_to_file_daemon(jcr, 10, FDConnectTimeout, 1)) { Jmsg(jcr, M_FATAL, 0, "%s", jcr->errmsg); goto bail_out; -- 2.47.3