2.4.3-orphaned-jobs.patch
Patches Committed:
+02Dec08
+2.4.3-prune-deadlock.patch
20Nov08
2.4.3-unique-inchanger.patch
2.4.3-win32-runscript-unicode-path.patch
--- /dev/null
+
+ This patch corrects a deadlock that can occure when using the catalog
+ as message backend and the director decides to prune volumes.
+
+ Apply it to Bacula 2.4.3 (possibly earlier versions)
+ with:
+
+ cd <bacula-source>
+ patch -p0 <2.4.3-prune-deadlock.patch
+ ./configure <your-options>
+ make
+ ...
+ make install
+
+
+Index: src/lib/jcr.c
+===================================================================
+--- src/lib/jcr.c (révision 8063)
++++ src/lib/jcr.c (copie de travail)
+@@ -438,7 +438,6 @@
+
+ #endif
+
+- dequeue_messages(jcr);
+ lock_jcr_chain();
+ jcr->dec_use_count(); /* decrement use count */
+ if (jcr->use_count() < 0) {
+@@ -455,6 +454,7 @@
+ remove_jcr(jcr); /* remove Jcr from chain */
+ unlock_jcr_chain();
+
++ dequeue_messages(jcr);
+ job_end_pop(jcr); /* pop and call hooked routines */
+
+ Dmsg1(3400, "End job=%d\n", jcr->JobId);
#endif
- dequeue_messages(jcr);
lock_jcr_chain();
jcr->dec_use_count(); /* decrement use count */
if (jcr->use_count() < 0) {
remove_jcr(jcr); /* remove Jcr from chain */
unlock_jcr_chain();
+ dequeue_messages(jcr);
job_end_pop(jcr); /* pop and call hooked routines */
Dmsg1(3400, "End job=%d\n", jcr->JobId);
Technical notes on version 2.4
General:
+02Dec08
+ebl Apply 2.4.3-prune-deadlock.patch that fixes a problem when
+ using Catalog as message backend.
20Nov08
ebl Apply 2.4.3-win32-runscript-unicode-path.patch for #1110
about a problem when executing a program with Unicode path.