Technical notes on version 2.4.x
General:
+Release Version 2.4.3
+10Oct08
+ebl Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
+ a non created job faster.
+08Oct08
+kes This should correct bug #1159 where Migration does not properly
+ respect the Migration Low Bytes directive.
+02Oct08
+ebl Fix typo in configure.in that breaks --with-db-password option
+24Sep08
+kes This code should fix the race condition that leads to a Director
+ crash at job end time when the job list is updated. This was reported
+ in bug #1162.
+20Sep08
+kes Remove all double quotes from SQLite creating script and
+ replace by single quotes as suggested by John Huttley.
+08Sep08
+kes Fix SQL case problem that may cause the failure of DiskToCatalog
+ in bug #1149.
+kes Copy missing storage name into edit buffer. As far as I can tell
+ this never caused a bug.
+28Aug08
+ebl Remove catalog dependency for bcopy
+ebl Modify catalog scripts to have an easier packaging integration,
+ using default variables.
+ Make difference between SQLite3 and SQLite in db_get_type()
+26Aug08
+kes Attempt to fix bug #1128 InChanger flag cleared during Migration
+ job when reading from one autochanger and writing to another.
+24Aug08
+kes Add more information to SD acquire.c INFO messages.
+kes Fix NULL Volume name error when reading and the drive must
+ be switched.
+14Aug08
+kes Fix a Verify InitCatalog problem where in certain cases
+ a garbage filename may be entered in the verification database. This
+ fixes bug #1143.
+kes Add space after version before date in bat about dialog.
+12Aug08
+kes Fix seg fault in Dir during estimate command with no level value
+ given. This fixes bug #1140.
+08Aug08
+kes Add message to migration job when the target job is already migrated.
+ This closes bug #1129.
+
Release Version 2.4.2
26Jul08
kes When a migration job actually runs, re-check the Job record
- Release Notes for Bacula 2.4.2
+ Release Notes for Bacula 2.4.3
- Bacula code: Total files = 500 Total lines = 188,832 (*.h *.c *.in)
+ Bacula code: Total files = 500 Total lines = 188,945 (*.h *.c *.in)
================== Warning !!!!!! ==========================
in your FileSet.
==============================================================
+Release 2.4.3
+ This is a bug fix to version 2.4.2. All daemons are compatible
+ with other 2.4.x versions.
+
+Bugs Fixed:
+ 1159, 1162. 1149, 1128, 1143, 1140, 1129
+
+Change Summary:
+- Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
+ a non created job faster.
+- This should correct bug #1159 where Migration does not properly
+ respect the Migration Low Bytes directive.
+- Fix typo in configure.in that breaks --with-db-password option
+- This code should fix the race condition that leads to a Director
+ crash at job end time when the job list is updated. This was reported
+ in bug #1162.
+- Remove all double quotes from SQLite creating script and
+ replace by single quotes as suggested by John Huttley.
+- Fix SQL case problem that may cause the failure of DiskToCatalog
+ in bug #1149.
+- Copy missing storage name into edit buffer. As far as I can tell
+ this never caused a bug.
+- Remove catalog dependency for bcopy
+- Modify catalog scripts to have an easier packaging integration,
+ using default variables.
+ Make difference between SQLite3 and SQLite in db_get_type()
+- Attempt to fix bug #1128 InChanger flag cleared during Migration
+ job when reading from one autochanger and writing to another.
+- Add more information to SD acquire.c INFO messages.
+- Fix NULL Volume name error when reading and the drive must
+ be switched.
+- Fix a Verify InitCatalog problem where in certain cases
+ a garbage filename may be entered in the verification database. This
+ fixes bug #1143.
+- Add space after version before date in bat about dialog.
+- Fix seg fault in Dir during estimate command with no level value
+ given. This fixes bug #1140.
+- Add message to migration job when the target job is already migrated.
+ This closes bug #1129.
+
+
+==============================================================
+
Release 2.4.2
This is an important bug fix release since version 2.4.1.
--- /dev/null
+
+ This patch fixes migration SQL not to migrate a job that has not
+ terminated, or in otherwords do not migrate a running job.
+ This is a partial fix to bug #1164.
+
+ Any prior patches to src/dird/migration must already be applied.
+ Apply it to 2.4.2 with:
+
+ cd <bacula-source>
+ patch -p0 <2.4.2-migration-deadlock.patch
+ ./configure <your-options>
+ make
+ ...
+ make install
+
+
+Index: src/dird/migrate.c
+===================================================================
+--- src/dird/migrate.c (revision 7729)
++++ src/dird/migrate.c (working copy)
+@@ -554,7 +554,7 @@
+ const char *sql_jobids_from_mediaid =
+ "SELECT DISTINCT Job.JobId,Job.StartTime FROM JobMedia,Job"
+ " WHERE JobMedia.JobId=Job.JobId AND JobMedia.MediaId IN (%s)"
+- " AND Job.Type='B'"
++ " AND Job.Type='B' AND Job.JobStatus = 'T'"
+ " ORDER by Job.StartTime";
+
+ /* Get the number of bytes in the pool */
+@@ -563,7 +563,7 @@
+ " (SELECT DISTINCT Job.JobId from Pool,Job,Media,JobMedia WHERE"
+ " Pool.Name='%s' AND Media.PoolId=Pool.PoolId AND"
+ " VolStatus in ('Full','Used','Error','Append') AND Media.Enabled=1 AND"
+- " Job.Type='B' AND"
++ " Job.Type='B' AND Job.JobStatus = 'T' AND"
+ " JobMedia.JobId=Job.JobId AND Job.PoolId=Media.PoolId)";
+
+ /* Get the number of bytes in the Jobs */
+@@ -582,7 +582,7 @@
+ "SELECT DISTINCT Job.JobId from Pool,Job,Media,JobMedia WHERE"
+ " Pool.Name='%s' AND Media.PoolId=Pool.PoolId AND"
+ " VolStatus in ('Full','Used','Error') AND Media.Enabled=1 AND"
+- " Job.Type='B' AND"
++ " Job.Type='B' AND Job.JobStatus = 'T' AND"
+ " JobMedia.JobId=Job.JobId AND Job.PoolId=Media.PoolId"
+ " AND Job.RealEndTime<='%s'";
+
#undef VERSION
#define VERSION "2.4.3"
-#define BDATE "08 October 2008"
-#define LSMDATE "08Oct08"
+#define BDATE "10 October 2008"
+#define LSMDATE "10Oct08"
#define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n"
#define BYEAR "2008" /* year for copyright messages in progs */
Technical notes on version 2.4
General:
-08Oct08
+Release Version 2.4.3
+10Oct08
ebl Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
a non created job faster.
08Oct08