From 02874dff500713d3c06e93508f2b35784b748d68 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 26 Nov 2004 10:33:44 +0000 Subject: [PATCH] Start 1.37 stream git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1721 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/ChangeLog | 26 ++++++- bacula/ReleaseNotes | 123 ++++++++++++++------------------- bacula/kernstodo | 4 ++ bacula/src/dird/authenticate.c | 12 ++-- bacula/src/dird/query.sql | 2 +- bacula/src/version.h | 8 +-- 6 files changed, 94 insertions(+), 81 deletions(-) diff --git a/bacula/ChangeLog b/bacula/ChangeLog index f4d894739e..f2b320cca6 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -1,5 +1,29 @@ -Version 1.36.1 released xxNov04: +Version 1.36.1 released 26Nov04: +24Nov04 +- Take Dan's fix to the fix_postgresql_tables (thanks Dan) +- Increase Maximum Concurrent Jobs to 20 in SD and FD! +- Fix improper handling of autochanger Volumes that are not + marked InChanger. +22Nov04 +- Update authentication failure message to indicate possible + problem with Maximum Concurrent Jobs. Add to doc too. +- Commit PostgreSQL BIGINT fix -- apparently some people didn't + get it. +- Do not use a slot unless it is InChanger in the autochanger + code, otherwise autochanger gets upset not finding the Volume. +21Nov04 +- Make authentication timeout compile time configurable. + The value is set in src/baconfig.h +- Fix removing items from watchdog queue, which apparently + screwed up if there was more than one item. +- Rework mediaformat part of manual to separate out old + tape format for easier reading. +- Add a lot of debug code to the authentication code. +- Add seconds to the start/end times printed in the job report. +19Nov04 +- Fix mutex deadlock in dequeue of messages. +- Add debug code to FD authorization. 18Nov04 - Increase authentication timeouts to 10 minutes. 15Nov04 diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index 99d6eb5005..0d6e53cf67 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -1,81 +1,47 @@ - Release Notes for Bacula 1.36.0 + Release Notes for Bacula 1.36.1 Bacula code: Total files = 396 Total lines = 116,418 (*.h *.c *.in) Major Changes: -- Tray monitor program (really cool) -- Bacula Rescue CDROM (easy to make and essential for emergencies) -- Bacula CD Image Manager -- General bug fixes/stabilization -- French translation of manual by Ludovic Strappazon well - underway. -- UTF-8 is supported in conio. -- Improved conf scanning code allowing FileSet components to - be put on a single line (previously everything had to be on - a different line). -- Win32 files restored to an alternate directory will have the - colon following the drive letter turned into a / e.g. c: - becomes c/. Previously the c: was stripped. This applies only - to files written to an alternate directory (i.e. using a where=). -- Certain open files (Word for example) can now be saved on - Win32 systems. -- Default for Wild-cards on Win32 systems is to fold case this - should correct most of the problems users are having with - exclusion on Win32. -- Lots of improvements in the Rescue scripts -- better - network detection, better mounting code, ... -- The attributes spool file can now exceed 2GB. -- Significant speed improvements when running PostgreSQL. -- Significantly faster restore command with very large - FileSets while building the in memory directory tree. -- Patches directory in the source will have all patches - that have not been applied and released (new releases are - only generated when really critical bugs are found). -- Bacula forces the tape drive into variable block mode - on most systems (providing Bacula is running in variable - block mode). -- dbcheck updated to remove many more orphaned records. -- Support for IPv6 (untested). -- Modifications to the license to termination clause for - more protection from SCO type predators. No change for - normal users. -- SIGHUP to Director causes it to reload conf file. +- There is a new Win32 pebuilder rescue disk thanks to Scott. This + is worth the effort to checkout. +- A number of indexes have been removed from the PostgreSQL + database to improve performance during backups. You may need to + add these indexes if you do Verifies. See the scripts. +- We now have a Gentoo ebuild -- thanks Scott. +- There are a number of new ./configure options for the + bimagemgr. Please see the documentation or ./configure --help +- The RedHat autostart scripts disable using /lib/tls. If you + don't want this you will need to turn it off. +- Corrected a problem with the default SD and FD conf files that + incorrectly set Maximum Concurrent Jobs = 1. This prevented + running a job and obtaining the status at the same time. +- All daemon messages are now prefixed with a short date/time, + and queued messages (generated in the comm routines) have the + time the message was generated rather than the time the message + was sent (usually much later). +- Fixed a bug with the autochanger code not respecting the InChanger + flag. -- Many improvements in the documentation. New Directives: -- Added "Rerun Failed levels = yes/no" in the Job resource - of the Director. It will upgrade the current job to a - higher level (Full or Differential) if a previous job - of that level failed. -- Added "Ignore FileSet Changes = yes/no" in the FileSet - directive of the Director. It prevents the Director from - immediately upgrading the job to a Full save if you modify - the contents of the FileSet. Not recommended. -- Added "Block positioning = yes/no" in Device resource in SD. - If set to no, Bacula should (as yet untested) be able to - recover data from tapes where the drive was set to fixed - blocksize but Bacula is in variable block size. -- Added "Multiple connections = yes/no" in Catalog record for - allowing multiple simultaneous connections to the database. - This is a major performance improvement for PostgreSQL and - SQLite, but it is untested, so please test before putting - it into production. -- Alert Command in SD permits checking for tape drive - alerts at the end of every job (or doing anything you want). - An example of the command is in the default bacula-sd.conf - file as well as in the Storage Configuration chapter of - the manual. +- None since 1.36.0 New Commands: -- umount -- same as unmount. -- delete job now permits multiple jobids and ranges, e.g.: - delete job jobid=1,3,5,11-16 -- reload -- reloads bacula-dir.conf in Director. +- None since 1.36.0 Items to note!!! +- The output from Job reports has been modified to include the + seconds on the start/end times, the Storage device used, and to + indent the output differently. +- If you created a PostgreSQL database under version 1.36.0, there + are two things you might want to do. 1. manually remove some + of the File table indexes to improve backup performance. See the + make_postgresql_tables script. 2. run fix_postgresql_tables (in + src/cats and updatedb) to correct a table. This is necessary only + if you are creating disk Volumes greater than 2GB. - As of 1.35.5 you MUST do a database update. cd scripts-dir (or src/cats) @@ -86,10 +52,25 @@ Items to note!!! - Regular expressions are not supported in the Win32 FD. Other Items: -- Much better error messages from system errors particularly - on Win32 and in running scripts. -- Many improvements in the SD. -- Full support for 64 bit machines. -- btape improved test and fill commands. -- See the ChangeLog for additional details. +- It is now possible to build the Rescue CDROM using a pre-installed + static Bacula FD. +- Corrected a bug in the traceback code when Bacula was executed without + a path. Tracebacks should now work in more cases. +- Corrected a typo in the traceback script. +- Fixed the mtx autochanger script so that it correctly waits on + Linux systems (if you manually enable the code). +- Added grant all on cdimages for PostgreSQL users of bimagemgr. +- The actual Job start time is now correctly recorded in the catalog. +- You can now specify a JobId (or multiple ones separated by commas) on + the restore command line. +- A -d50 will now turn on lots of debug code if you are having + authentication errors. +- Found a workaround to a /lib/tls pthreads bug (a library seg fault). +- Added an ALERT message class for Alert messages. +- Fixed a seg fault in the restore tree routine when attempting + to select certain files in the root directory. +- Allow other jobs to request new Volumes while operator intervention + is needed -- previously all stalled. +- Enhancements to btape test (don't loop if certain tape errors occur). +- Improvements to the Win32 install. diff --git a/bacula/kernstodo b/bacula/kernstodo index 683cd3a5fc..58ae189434 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -25,6 +25,10 @@ For 1.36.1: 1.37 Possibilities: +- Require restore via the restore command or make a restore Job + get the bootstrap file. +- Use only shell tools no make in CDROM package. +- Document PostgreSQL performance problems bug 131. - Document testing - Add performance testing hooks - if 2 concurrent backups are attempted on the same tape diff --git a/bacula/src/dird/authenticate.c b/bacula/src/dird/authenticate.c index b889e5e8b9..4ad863a3ea 100644 --- a/bacula/src/dird/authenticate.c +++ b/bacula/src/dird/authenticate.c @@ -85,8 +85,10 @@ bool authenticate_storage_daemon(JCR *jcr, STORE *store) stop_bsock_timer(tid); Dmsg0(50, _("Director and Storage daemon passwords or names not the same.\n")); Jmsg0(jcr, M_FATAL, 0, - _("Director and Storage daemon passwords or names not the same or\n" - "you have exceeded the Maximum Concurrent Jobs on the SD.\n" + _("Unable to authenticate with Storage daemon. Possible causes:\n" + "Passwords or names not the same or\n" + "Maximum Concurrent Jobs exceeded on the SD or\n" + "SD networking messed up (restart daemon).\n" "Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.\n")); return 0; } @@ -142,8 +144,10 @@ int authenticate_file_daemon(JCR *jcr) stop_bsock_timer(tid); Dmsg0(50, _("Director and File daemon passwords or names not the same.\n")); Jmsg(jcr, M_FATAL, 0, - _("Director and File daemon passwords or names not the same or\n" - "you have exceeded the Maximum Concurrent Jobs on the FD.\n" + _("Unable to authenticate with File daemon. Possible causes:\n" + "Passwords or names not the same or\n" + "Maximum Concurrent Jobs exceeded on the FD or\n" + "FD networking messed up (restart daemon).\n" "Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.\n")); return 0; } diff --git a/bacula/src/dird/query.sql b/bacula/src/dird/query.sql index e763d9d893..443cf8f867 100644 --- a/bacula/src/dird/query.sql +++ b/bacula/src/dird/query.sql @@ -6,7 +6,7 @@ SELECT count(*) AS Jobs,sum(JobFiles) AS Files, SELECT max(JobId) AS Jobs,sum(JobFiles) AS Files,sum(JobBytes) As Bytes FROM Job; # 2 -:List where a File is saved regardless of the directory: +:List up to 20 places where a File is saved regardless of the directory: *Enter Filename (no path): SELECT DISTINCT Job.JobId as JobId, Client.Name as Client, Path.Path,Filename.Name,StartTime,Level,JobFiles,JobBytes diff --git a/bacula/src/version.h b/bacula/src/version.h index d237d6ded0..9446e4364a 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -1,8 +1,8 @@ /* */ #undef VERSION -#define VERSION "1.36.1" -#define BDATE "24 November 2004" -#define LSMDATE "24Nov04" +#define VERSION "1.37.1" +#define BDATE "26 November 2004" +#define LSMDATE "26Nov04" /* Debug flags */ #undef DEBUG @@ -12,7 +12,7 @@ #define TRACE_FILE 1 /* If this is set stdout will not be closed on startup */ -/* #define DEVELOPER 1 */ +#define DEVELOPER 1 -- 2.39.5