From f17639e69bb6bcd32cf301e3d2bfd2e92ad3b060 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 2 Nov 2008 13:54:21 +0000 Subject: [PATCH] Commit orphaned job patch git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7966 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/2.4.3-orphaned-jobs.patch | 24 ++++++++++++++++++++++++ bacula/technotes-2.5 | 12 ++++++------ 2 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 bacula/patches/2.4.3-orphaned-jobs.patch diff --git a/bacula/patches/2.4.3-orphaned-jobs.patch b/bacula/patches/2.4.3-orphaned-jobs.patch new file mode 100644 index 0000000000..6162c9e95a --- /dev/null +++ b/bacula/patches/2.4.3-orphaned-jobs.patch @@ -0,0 +1,24 @@ + + This patch fixes a case of orphaned jobs (and possible deadlock) + during pruning. + Apply it to Bacula 2.4.3 (possibly earlier versions) with: + + cd + patch -p0 <2.4.3-orphaned-jobs.patch + ./configure + make + ... + make install + +Index: src/dird/ua_prune.c +=================================================================== +--- src/dird/ua_prune.c (revision 7949) ++++ src/dird/ua_prune.c (working copy) +@@ -468,6 +468,7 @@ + break; + } + } ++ endeach_jcr(jcr); + if (skip) { + continue; + } diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index c74a170d9d..7be49a1ff7 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -11,7 +11,7 @@ mixed priorities General: 02Nov08 -kes Fix orphanned jobs (deadlock) while pruning. +kes Fix orphaned jobs (possible deadlock) while pruning. kes Use jcr stored in bsock rather than searching in getmsg.c. This results in about a 5% speed improvement with four concurrent jobs. @@ -97,7 +97,7 @@ kes Minor cleanup of create_restore_volume_list() code. kes Fix typo in console Makefile.in 16Oct08 ebl Fix #1110 about RunScript that can't execute a script with - Unicode caracters in the path. + Unicode characters in the path. 15Oct08 kes Apply tray-monitor patch from Bastian Friedrich to make it work with the new FD. @@ -107,7 +107,7 @@ kes Apply patch from Marco van Wieringen that implements libtool to create shared objects out of the Bacula libraries. kes Fix tray-monitor so it will speak to new FD. -ebl Fix bug with ansi label when volume name length < 6 +ebl Fix bug with ANSI label when volume name length < 6 ebl Fix segfault in debug level > 50 with btape. ebl Remove warning message in btape when command is empty. kes Fix Win32 build to pull in new BACULA define. @@ -119,7 +119,7 @@ kes Implement code to prohibit ExcludeDirContaining in an ebl Add field to command list to restrict Runscript console command. ebl Use a separate JCR when running Console command with Runscript. -ebl Permit to mark version as Beta in some ouputs +ebl Permit to mark version as Beta in some outputs 11Oct08 kes Add plugin types in jcr.h to reduce need to cast. kes Do better checking of plugin return values. @@ -134,7 +134,7 @@ kes Move generation of bsr file for Virtual Backup to run section Suggested by Graham Keeling. 09Oct08 kes Add malloc and free Bacula entry points for plugins. Increment - FD plugin interface version. Create a bacula plugin context + FD plugin interface version. Create a Bacula plugin context structure to keep track of whether or not the plugin is disabled. kes Apply FileIndex fix for plugin name stream suggested by James. kes List plugins in FD status report when debug > 0. @@ -156,7 +156,7 @@ kes Integrate patch from Kjetil Torgrim Homme It provides FileRegex in bsr files and code to collect regex from the user during restore, an Allow Mixed Priorities feature, and documentation for the above. -ebl Remove db berkeley from configure process +ebl Remove db Berkeley from configure process kes Do dirty check on hostname (Linux only) and if not resolvable use localhost as default. kes Increase vtape max block to 20GB. -- 2.39.5