]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix #7671 About stopping job waiting for the device
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Mon, 28 Jun 2021 07:02:02 +0000 (09:02 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:02 +0000 (09:03 +0100)
commitdd6c3c4dd734fef880ceae87827a0930628a2adc
tree0afaeb974e116780a2646b54bfdba203a4aa2c4d
parent9ac50be52971ff2a4cd0b4d2515de50fef803685
Fix #7671 About stopping job waiting for the device

1. Decrement timeout value for the running jobs when we are waiting on
SD to stop the job and free all it's JCRs related.
2. When 'stop' is called against job which has not been started, upgrade
command to 'cancel' instead and inform user about that.
13 files changed:
bacula/src/dird/backup.c
bacula/src/dird/job.c
bacula/src/filed/job.c
bacula/src/jcr.h
bacula/src/stored/acquire.c
bacula/src/stored/askdir.c
bacula/src/stored/dircmd.c
bacula/src/stored/fd_cmds.c
bacula/src/stored/job.c
bacula/src/stored/mount.c
bacula/src/stored/reserve.c
bacula/src/stored/vol_mgr.c
bacula/src/stored/wait.c