]> git.sur5r.net Git - bacula/bacula/commitdiff
Update release notes, etc
authorKern Sibbald <kern@sibbald.com>
Fri, 10 Oct 2008 11:51:37 +0000 (11:51 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 10 Oct 2008 11:51:37 +0000 (11:51 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7745 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/ChangeLog
bacula/ReleaseNotes
bacula/patches/2.4.2-migration-deadlock.patch [new file with mode: 0644]
bacula/src/version.h
bacula/technotes-2.4

index e65d42a68d9c4b918c8d96f51a7c382562fc0751..894b49408f1de951057f60a818d89000ac17e891 100644 (file)
@@ -1,6 +1,51 @@
               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
index 5d3411935ebf8fa1403399994a80a6fd96bb96a0..d14f8b992f12a10a4d8517ab9c22404791e27d6b 100644 (file)
@@ -1,7 +1,7 @@
 
-       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 !!!!!! ==========================
@@ -14,6 +14,49 @@ reparse directories backed up, you must explicitly include them
 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.
 
diff --git a/bacula/patches/2.4.2-migration-deadlock.patch b/bacula/patches/2.4.2-migration-deadlock.patch
new file mode 100644 (file)
index 0000000..ba43d2f
--- /dev/null
@@ -0,0 +1,47 @@
+
+  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'";
index efd5a98f216d75cb1a89e882bd7098ecdfa11a69..2343e93ec03187dd1b0e50204089c174d42c3c83 100644 (file)
@@ -4,8 +4,8 @@
 
 #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 */
index 3cc2d5a794031f8d287fdb1c1e316cb72b4a9822..82f3f532f6388dc884c13473c487a25917f6aa05 100644 (file)
@@ -1,7 +1,8 @@
               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