X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Ftechnotes-2.1;h=dcb5648644a799cd73b77c488c4a1c2eaf656503;hb=fb818de24fea89fdaff0f68550e9606b4af75050;hp=76b3e5fecd54d0718ee4b0a8991a8fa27f8032d0;hpb=8bc0ac05ffbc4521592c9806b875208ec25d0d09;p=bacula%2Fbacula diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 76b3e5fecd..dcb5648644 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -1,6 +1,349 @@ - Technical notes on version 2.1 + Technical notes on version 2.2 General: +14Dec07 +kes Apply patch from Michael Stapelberg + that implements double quoting include names in conf files, + and also allows piping input by having the first character + be a vertical bar (|). +kes Apply patch from Bastian Friedrich + that implement %f in RunScripts to pass the FileSet name. +kes Skip leading | when lex input comes from a pipe as suggested + by Michael Stapelberg . +13Dec07 +kes Apply patch for bsmtp Win32 daylight savings time fix supplied by + Nerijus Baliunas +10Dec07 +kes This patch corrects a problem where the maximum concurrent storage + jobs counter gets out of sync during restore jobs causing jobs to + 'wait on max Storage jobs'. This patch fixes bug #1009. +08Dec07 +kes Add new include to postgresql.c suggested by Marc Cousins so + that it compiles correctly with pgre version 8.3. Also fix + misuse of %x with pointer (should be %p). +03Dec07 +kes This patch fixes bcopy so that it produces correct Volumes. + It fixes bug #1022. +kes This patch eliminates spurious output to the console during a VerifyVolume + job that contains encrypted data. It fixes bug #1024. +02Dec07 +kes This patch prevents the 'status dir' command from trying to use a scratch + volume and possibly moving it from one pool to another. This patch fixes + bug #1019. +30Nov07 +kes Fix --archivedir addition to configure. Replace it with + --with-archivedir in configure.in This fixes the regression + test builds. +kes This patch fixes bug #1012 where the job is canceled because + of Max Run Time exceeded when the job has not yet started. +29Nov07 +ebl Apply Richard Mortimer patch that fixes #1016 when there are more than + one 'part' to write. Instead of each part being stored on disk, + written to DVD, then deleted from disk, all parts are written to disk, + and only the last is written and deleted from disk. +27Nov07 +kes Correct typos in disk-changer.in +25Nov07 +kes This patch fixes the status command to include the formating string for + JS_AttrInsterting. It fixes bug #1021. +kes This patch should fix the Mac OS X build problem on the latest + Darwin, where sys/types.h was not included correctly (apparently + due to a change in the Mac headers). The solution was to explicitly + ensure that it is defined for the ./configure. + This patch also has a rebuild of configure that includes the Debian + qt4 patch to check for qmake-qt4. This patch fixes bug #1020. +kes This patch should ensure that queued messages to the console are + displayed as soon as possible. It should fix bug 1007, but has been + reported not to work. +14Nov07 +kes This patch fixes the infinite loop when trying to increase the + maximum number of volumes in a Pool during the add command. + This patch fixes bug #1008. + +Release Version 2.2.6 +09Nov07 +kes Get fix for joblist bug in bat from trunk. +04Nov07 +kes This patch fixes bug #1003 where putting the message output from + a Verify job into the catalog results in a recursive loop. The problem + seems to show up only with postgresql (to be verified). +02Nov07 +kes Fix bug #942 where lots of emails where generated when the heartbeat + interval was low and Bacula wanted a different tape from the one in + the drive. +26Oct07 +ebl Apply 2.2.5-lastwritten.patch to fix the LastWritten field + which was updated during a restore (or a reading migration) bug #982 +24Oct07 +ebl Use qmake-qt4 instead of qmake when available (debian system). +22Oct07 +kes Add a security warning to src/cats/make_catalog_backup.in indicating + that passing the password via the command line (arg 3) is insecure. + This responds to bug #990 (it doesn't fix it). +kes Apply 2.2.5-postgresql-errors.patch +kes Remove unneeded File table index on JobId, which is already + present as the first index of another multi-index. +19Oct07 +kes Set default debug_level to zero. This corrects bugs #991 and #993. +kes Fix a crash in bat when it cannot connect to the Director for example + if the Director is not running. +16Oct07 +kes Activate Close button on tray-monitor window. This fixes + bug #986. +12Oct07 +kes Fix spurious warning message printed when creating a volume with + a LabelFormat. This fixes bug #976. + +Release Version 2.2.5 +09Oct07 +kes Add JobId in place of Job name in all the Jmsg() output. +kes Correct the APP_DESC for the Win32 storage service (remove an e). +06Oct07 +kes Add new SD despooling attributes and Dir inserting attributes + job status codes. This fixes bug #961. +kes Fix Win32 drive display in bat version browser. Fixes bug #962. +05Oct07 +kes Fix doc issue. This fixes bug #963. +kes Fix listing performance problems in bat. Pointed out by + Chris Howells. +ebl Fix replace on restore. This fixes bug #969 +kes Fix bat code that tests for Win32. This should fix bug #968 +kes Query 5 list wrong Vol after migration. This fixes bug #960 +04Oct07 +kes Correct lib/Makefile.in to include enh_fnmatch.o that was removed + in back porting from 2.3.x +03Oct07 +kes Backport almost 4000 lines of 2.3 code that fixes a number of bugs. + The details are included in the notes in this file. +28Sep07 +kes Backport 2.3 code that fixes: it fixes incorrect or incomplete error + messages; it fixes a problem opening the SQLite3 database when multiple + simultaneous jobs were running; it fixes a bug with certain versions of + MySQL where batch inserts failed because of table name character case + (upper/lower) differences. +kes Fix race condition that drops final block written to volume. + This happens in rare cases with multiple simultaneous jobs + when the Volume fills. This fixes bug #964. May be related + to bug #935 and possibly #903. +27Sep07 +kes Fix FD->SD authorization failure, which was due to spurious + wakeups from a pthread_cond_timedwait(). Simply check the + predicate before continuing. This fixes bug #953 +dvl Add new configuration item --archivedir +dvl Adjust regression tests to use tmp not /tmp. This will allow + multiple concurrent runs of the regression tests. +28Sep07 +kes Eliminate more strerror() and replace with bstrerror(). +kes Remove BSD getopt and replace with unrestricted IBM version. +kes Fix Win32 build for changed calling sequences. +27Sep07 +kes Fix FD->SD authorization failure, which was due to spurious + wakeups from a pthread_cond_timedwait(). Simply check the + predicate before continuing. This fixes bug #953. +kes Add const char where needed (more to do). +26Sep07 +kes Setup SQLite busy handler before doing queries. Fixes bug #967. +kes Don't overwrite error message in check_tables_version. + Fixes bug #966. +kes Unlock batch insert tables with same calls used elsewhere. +kes Allow starting 59 jobs a second. +kes Make SD session key more random. +kes Add retry for SQLite opening db if it fails. Probably helps + for bug #967. +kes Suppress extra error messages during batch insert failure. + Fixes bug #966. +kes Put some FD auth code on dbglvl rather than fixed. +kes Return insert attributes error message in db msg buffer to avoid + false error messages. Helps fix bug #966. +kes Separate batch init error messages. Probably helps fix bug #966. +kes If Dir gets an error during inserting attributes, cancel SD. + This reduces unnecessary error messages. +24Sep07 +ebl Cleanup batch insert code. Probably fixes bug #965. +23Sep07 +kes Turn off some code when batch insert not enabled. +kes Edit FD name in connect error messages. +22Sep07 +kes Add code to handle tray monitor separated from Win32 FD. +kes Fix display of Win32 tray monitor after reboot. Fixes bug #952. +20Sep07 +kes Fix ANSI tape labeling. This fixes bug #954. +kes Increase the max block size to 4MB fixes bug #957. +kes Apply 2.2.4-poll-mount fix, that resolves bug #908 where a tape + is not properly mounted (recognized) during a poll. +kes Apply 2.2.4-verify patch that resolves bug #958. A Verify catalog + Job that has differences reports Verify OK. +ebl Fixes #955 bug seg fault in Dir introduced with regexwhere relocation. + +Release Version 2.2.4 +14Sep07 +kes Increase size of name string when FD making connection to SD. + May fix bug #953. +13Sep07 +kes Add waits to multiple exit detection code to try to force pid + file to always be deleted. +kes Restore good dev.tar.gz to rescue set appropriate binary property. + This fixes bug #950. +kes Fix seg fault in error exit of acquire_for_read after unsuccessfully + trying to switch drives by checking for blocking before unblocking. + Fixes bug #906. +kes Cancel storage daemon in all cases where FD reports error. This + should fix virtually all cases of bug #920. +12Sep07 +kes Fix error message that was clobbered when Dir tells SD it does not + have write permission on Volume. This should fix a minor point + in bug #942, but not the main problem. +kes Add code to cancel job in SD if FD connection fails. This should + fix bug #920. +kes Add code in FD exit to prevent loops and a crash on FreeBSD. +kes Fix migration code to get correct Volume name with multiple volumes + by skipping |. Fixes bug #936. +kes Implement patch supplied by Landon to fix bug #944 where using + TLS with bconsole uses 99+% of the CPU. +kes Note, you need GTK >= 2.10 to be able to link the Tray Monitor + program. +kes Move patches into patches directory. +11Sep07 +ebl Fix bug #946 about 'bacula-dir -t' which doesn't works + as expected. +09Sep07 +ebl Using 'm' in bconsole will show messages like before, + and not memory usage. + +Release Version 2.2.3 +kes Note, you need GTK >= 2.10 to be able to link the Tray Monitor + program. +09Sep07 +kes Fix bug #935, and probably also bug #903 where files were not + restored. MediaId was not properly set in JobMedia record after + a Volume change. +07Sep07 +kes Add ./configure search in qwt-qt4 for qwt package +kes Apply Martin Simmons patch that should turn off the new API usage + when batch insert is turned off allowing building on older + PostgreSQLs. + +Release Version 2.2.2 +04Sep07 +ebl Detect if new PosgreSQL batch insert API is present. +kes Correct incorrect mempool call causing Director crash. +sb Update spec files for 2.2.1 release + +Release Version 2.2.1 +30Aug07 +kes Update POTFILES.in +kes Cleanup a few underquoted AC_DEFUNs in configure +kes Apply patch from Martin Simmons that adds a test for va_copy to + ./configure +29Aug07 +kes Fix bug #921 by increasing the number of tries to create a new volume + from 11 to 100. +kes Rework bmsg in ua_output to use va_copy() so that bvsnprintf() + can be called multiple times. Implement a version for machines + without va_copy() that gets a big buffer. +25Aug07 +kes Integrate more portable zone offset code into bsmtp.c + Submitted by Attila Fülöp. +24Aug07 +kes Fix bad SD->FD return status reported by + (James Harper) +ebl Fix a bug in read_close_session which return random status + thanks to James Harper +23Aug07 +kes Fix (hopefully) bug #930 by doing a db_escape_string() on file + and directory names during restore of single file/directories. +kes Add sanity checks to .sql command when string is empty. Hopefully + that will resolve Dirks Director crash. +22Aug07 +kes Apply patch submitted by Martin Simmons that corrects a seg fault + in the bsmtp chat subroutine when debug is >= 10. +21Aug07 +kes Fix Director crash when running bat SQL queries. +kes Add David's notes on Item 8: Copy pools. +18Aug07 +kes Rework projects file to be current and ready for a vote. +kes Enhance lex scanner error message. +17Aug07 +kes Tweak LICENSE file to mention BSD code. +kes Fix bat.pro.in so that it includes the OpenSSL libraries only + if specified on the ./configure. +kes Add first (not yet tested) cut of bcomm to the qt-console directory. + This class is intended to allow us to open a second bsock to the + Director while in the restore subdialog. +16Aug07 +kes Fix configure to create bat Makefile before creating dependencies. +kes Eliminate the egg files from the tray-monitor. Use gtk calls. +kes Add a tooltip to the tray monitor. +dvl Set the Director's PID file before dropping privs. This fixes + bug #923. +15Aug07 +kes Update AUTHORs file +kes Increase the default max concurrent jobs to 20 in FD and SD to + correspond with the default .conf files. +kes Rewrite the Win32 service routines. This eliminates the 3 copies + some different, of the same file created by RN when porting the + Win32 SD and Dir. +kes Rearrange some of the Win32 directories and the placement of the files + in them. +kes Set DEVELOPER flag in version.h + +======================================================================== +Release Version 2.2.0 +09Aug07 +kes Apply a second doc patch from Marc. +kes Apply a doc patch from Marc Schiffbauer that + improves the tips section that discusses how to setup multiple + simultaneous jobs. +08Aug07 +kes Update bat README file. +kes Apply patch from Allan Black that + corrects a typo in the Recycle status check in db_find_next_volume(). + This will probably fix a number of annoying problems with multiple + Recycled volumes. +kes Modify most of dird/msgchan.c to use bsock class calls rather than + bnet calls -- no functionality change. +07Aug07 +kes Modify the Verify output to specify if files are missing on + the Volume(s) or disk. Fixes confusion in bug #916. +kes When more than one Volume is read in a migration job, the last + Volume bytes reported are from the last read volume rather than + the last written volume. Fixed. This fixes bug #910. +kes Fix display of Recycle flag after update volume=foo recycle=yes. + It previously printed New Recyle flag is: no. This fixes bug + #917. +06Aug07 +kes Correct seg fault when switching tape drives during restore. +kes Commit uid_gid_name.c (replacement for idcache.c), but will not + be used until after 2.2.0 release. +04Aug07 +kes Remove fnmatch() in SD that permitted wild card specifications. + This fixes bug #914. +31Jul07 +kes Fix %g in filename returned by SQL for browse tree reported by + Dirk. +kes Fix configure so that it puts config.out in the cwd rather than + in src/qt-console +kes Attempt to fix the locking problem reported by Eric in bug #906. +kes Make berrno class to leave errno unchanged after constructor call. +kes Make bnet_server use the heap rather than the stack to allocate + its socket fd pointers to avoid a crash at termination. Problem + reported by Ryan Novosielski and bugs pointed out by Martin Simmons. +30Jul07 +kes Create new depkgs and depkgs-qt separating the qwt out of depkgs + and putting it in depkgs-qt along with Qt4.3. +29Jul07 +kes Rework code in acquire.c that switches drives for reading when + the Media Type does not match. This should fix bug #906 +28Jul07 +ebl Fix a director segfault during job setup #907 +kes Correct seg fault in postgresql when first operation returns no + rows. Fixes Dirks File browser problem seg fault with bat. +25Jul07 +kes Apply patch from Felix Schwarz that allows + building wxconsole on Fedora 7 with wxWidgets 2.8 (it works with + 2.6 as well). +24Jul07 +kes Implement PopUp YES/NO dialog for bat. 23Jul07 ebl Fix a compilation bug when using #define BACL_WANT_NUMERIC_IDS 22Jul07 @@ -17,6 +360,8 @@ Release 2.1.28 beta 19Jul07 kes Modify find_next_volume() to return all values in Media record. kes Ensure that we keep Recycle Pool when moving Scratch volumes. + +Release 2.1.28 beta 18Jul07 kes Update Release notes 17Jul07