]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Massive SD calling sequence reorganization
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 1.35.3
3
4   Bacula code: Total files = 395 Total lines = 115,062 (*.h *.c *.in)
5
6 Changes for 1.35.3
7 Major Changes:
8 - Tray monitor program
9 - Bacula Rescue CDROM     
10 - General bug fixes/stabilization
11 - French translation of manual by Ludovic Strappazon well    
12   underway.
13
14 New Directives:
15 - Added Ignore FileSet Changes = yes
16
17 Items to note!!!
18 - All daemons should be compatible with 1.34 with the exception
19   of the new FileSet features such as regular expressions.
20 - Regular expressions are not implemented in the Win32 FD.
21
22 Other Items:
23 - See below
24
25 Changes to 1.35.3:
26 09Sep04
27 - Add "Multiple Connections = yes/no" in catalog record. Only
28   the variable is implemented, no code yet.
29 - Close *all* FD unless debug on. 
30 08Sep04
31 - Add first cut of UTF-8 support to conio. It "seems" to be working
32   pretty well. Moving by words will definitely not work though.
33 - Improve detection and setting of gateway in the 
34   network_start script.
35 07Sep04
36 - Modify scan code so that in most places scanning will
37   continue across the end of a line.
38 05Sep04
39 - Begin major phase of 1.35 documentation.
40 - All outstanding bugs are fixed.
41 - Implement changes and improvements to rescue scripts as
42   proposed by Gaurav.
43 05Sep04
44 - Add correction to Phil's previous patch.
45 - Send all queued messages in SD and FD prior to closing down    
46   the job.
47 - Send queued messages in Jobs before terminating the job 
48   so that the messages print before the job report.
49 - Add a destructor so that the Console ACLs are properly
50   freed.
51 04Sep04
52 - Implement isolinux boot disk.
53 - Integrate Phil Stracchino's code (thanks for Matt's help).
54   It permits lists and ranges of jobids on the delete as in:
55   delete job jobid=1,3,5,11-16
56 03Sep04
57 - Apply Mike Acar's suggestion when looking for the next volume
58   to check purged volumes for recycling before doing a purge.
59 - Make some improvements to CDROM disk.
60 - Take another crack at ignoring drive open() errors during
61   polling.
62 02Sep04
63 - Add eliminate orphaned job records; eliminate admin records,
64   and eliminate restore records to dbcheck.
65 - replace sprintf by bsnprintf() in dbcheck.
66 - Added scan target to makefile in rescue cd to print scsi
67   devices.
68 - Added argument to berrno::strerror() to pass errno.
69 - Cleaned up a few more old strerror() calls and eliminated a
70   few of the now unnecessary set_errno() calls.
71 - Fixed a bug in the polling code that prevented more than 100
72   label reads (insanity check disabled if polling).
73 - Ignore bad return from open_device() if polling.
74 - Short circuit code if fatal error return from read_label() in
75   mount.c
76 01Sep04
77 - Add index file to JobId field of File records for PostgreSQL.
78 - Correct several bugs in the job queue scheduler concerning   
79   rescheduled jobs: 1. The SD status was not cleared causing a
80   wrong status to be displayed by Dir after rescheduling. 2. All
81   rescheduled jobs became zombies because the jcr use_count was
82   not decremented properly.
83 - Make the Catalog resource required in Client records.
84 - Order the listing of where a file is (item 2 on the restore
85   menu) by StartTime.
86 - Clarify when a filename only and a full path + filename must
87   be entered in items 2 and 8 of the restore menu.
88 - Fix logic error in resolution of names on IPv4 systems.
89
90 Changes to 1.35.2 released 01Sep04:
91 30Aug04
92 - Inhibit printing of FileSet for a restore as it is misleading.
93 - Cleaned up a number of minor scripting problems with the CDROM
94   creation.
95 - Fixed a race condition causing a Director crash on termination,
96   if a large number of SIGHUPs were sent during a multiple concurrent
97   set of backups.
98 28Aug04
99 - Completed integration of Rescue CD scripts with Bacula source.
100 28Aug04
101 - Added Ignore FileSet Changes = yes
102 - Added more error checking to the spooling code.
103 24Aug04
104 - Applied a patch from Peter Eriksson that removes a dynamic stack
105   allocation (replaced by alloca) and fixes some const problems.
106 - Fixed a free() of a static variable in the new IP code bnet.c
107 - Got the new Bacula Rescue CDROM booting.
108 - Replaced a dynamic template by a simple store when using the
109   native C compiler.
110 - Reworked some of the block.c error handling.
111 - Changed a Dmsgx(000, to Dmsgx(100 in dev.c that was dumping
112   debug output on a user.
113 - Integrated patch from 1.34.6 block.c to 1.35
114 17Aug04
115 - Fix conio.c problem on Solaris.
116 - Add debug code to lock_jcr_chain().
117 - Lock jcr chain around less code.
118 - Implement call by reference for Mmsg() and pm_strxxx() to
119   simplify calls.
120 - New IP address specification is used as follows:
121     [sdaddresses|diraddresses|fdaddresses] = { [[ip|ipv4|ipv6] = { 
122            [[addr|port] = [^ ]+[\n;]+] }] }
123
124   so it could look for example like this:
125      SDaddresses  = { ip = {
126             addr = 1.2.3.4; port = 1205; }
127         ipv4 = {
128             addr = 1.2.3.4; port = http; }
129         ipv6 = {
130             addr = 1.2.3.4;
131             port = 1205;
132         }
133         ip = {
134             addr = 1.2.3.4
135             port = 1205
136         }
137         ip = {
138             addr = 1.2.3.4
139         }
140         ip = {
141             addr = 2001:220:222::2
142         }
143         ip = {
144             addr = bluedot.thun.net
145         }
146      }
147   as a consequence, you can now specify multiple IP addresses and
148   ports to be used. In the case of a server, it will listen on
149   all those that you specify. In the case of connecting to the server,
150   Bacula will attempt connecting to one at a time until it succeeds.
151   And, in a few other special cases, Bacula will use only the first
152   address specified.
153
154   The default port numbers are still the same and the services and hosts 
155   are also resolved by name. So now  you could use the real names for the 
156   port numbers.
157
158 Release 1.35.1 16 August 2004:
159 - Added Tape Alert feature (see Alert Command).
160 - New IPv6 code (untested)
161 - New way of specifying Addresses and Ports -- permits having
162   server listen on multiple ports.
163 - Regular expressions in Options directive.
164 - Reader/writer programs in Options (not yet fully implemented,
165   please do not use).
166 - Fixed specification of bind address on Win32 (thanks to     
167   Martin Simmons).
168 - Update all Volumes from Pool record.
169 - Update License to terminate rights of anyone suing a GPL licensor.
170 - Improved error messages for Win32 and when running external
171   programs (e.g. RunBeforeJob).
172 - Implement reload of conf file in Directory on SIGHUP.
173 - Building restore tree is much faster on large filesets
174   due to binary insert.
175 - Alert Command in Device resource of Storage Daemon.
176 - New IP address and port directives.
177 - reader = xxx, writer = yyy in Options within FileSet of
178   Director's conf file.
179 - regex = xxx in Options within FileSet of Director's
180   conf file.
181 - New command options: update AllFromPool updates all
182   Volumes with Pool defaults.
183 - .backups client=xxx (for GUI programs).
184 - A duration specification may have any number of integer/modificator
185   specifications. E.g.:
186   1 week 2 days 3 hours 10 mins
187   1 month 2 days 30 sec
188 - Print error message if Alert Command fails in bpipe_open().
189 - Doc Alert command.
190 - Eliminate unnecessary class in findlib/attribs.c
191 - Add necessary empty files to new tray-monitor directory.
192 - Implement Class with template in findlib/attribs.c to do casting
193   of uint64_t into stat packet types to avoid compiler warnings.
194   Thanks to Meno for this idea.
195 - Make some modifications to satisfy VC++.
196 - Apply Martin Simmons' second patch to compat.cpp to fix the line
197   I previously missed.
198 - Apply Meno's fix to bnet that corrects use of ipaddr after free_addresses,
199   back out my kludges, and it works.
200 - Modified configure.in to by default add -Wall.
201 - Found some problems with printing IP addresses -- will notify Meno.
202 - Added printing Pool to Job report.
203 - Fixed several places where dlists were not being released 
204   (term_job_server, ...)
205 - Started implementing New() for dlists. Spent a lot of time,
206   but could not get it to work.
207 - Fixed a mutex deadlock between the job queue scheduler and the
208   watchdog.
209 - Made add_address() static.
210 - Added bsnprintf to address_conf.c
211 - Apply Marin Simmons patch to inet_aton() in compat.
212 - Build on Win32 -- required a few changes because of new IP code.
213 - Implement program reader code in Dir and FD -- not tested, and
214   a few corrections for writer code are needed in FD.
215 - Rework SQL for pruning. Add Admin pruning. Prune failed
216   jobs in Verify and Restore.
217 - Don't put commas in listing produced in restore so that users
218   can cut and past JobIds without having commas in the way.
219 - Change size_t to socklen_t in filed.c -- reindent a bit.
220 - Remove addr_list->size from buf size definition in bnet.c
221 - Create a Developer's document.
222 - Add prompt for Update volume from pool and update all 
223   Volumes from pool.
224 - Implement user friendly time duration input editing.
225 - Add buf len argument to edit_utime().
226 - Added eliminate orphaned Client records to dbcheck.
227 - Implement Alert Command in SD Device conf. 
228 - Fix updating a Volume from the pool record -- it never changed
229   anything.
230 - Implement updating all Volumes from pool record.
231 - Add patch by Denis Shaposhnikov that fixes excludes of directories
232   in new style FileSets.
233 - Merge Meno's IPv6-1 code.
234 - Update License to terminate rights of anyone suing a GPL licensor.
235 - Add Pruning doc sent by Bryce Denney
236 - Correct inconsistencies in restore command doc pointed out by user.
237 - Don't edit commas in SQL intergers if they are not stricly integer.
238 - Update all pools in all DBs when starting the Director.
239 - Implement final cut of berrno and update Win32 code.
240 - Update copyright to include a termination clause. Add copyright to
241   binaries.
242 - Implement .backups client=xxx for Nicolas.
243 - Make first cut at implementing berrno class to handle Unix, Win32
244   and bpipe errors. Bpipe still needs to be implemented.
245   This fixes (not yet tested) the Win32 errno problems in the compat lib.
246 - Fix btape compile problem reported by Martin Simmons -- thanks.
247 - Add ./configure detection of sys/tape.h
248 - Apply two fixes to recent changes to dev.c submitted by
249   Martin Simmons.
250 - Add checks in btape for correct size of off_t, and correct editing
251   of 32 and 64 bit values.
252 - Move supported OS/hardware into a chapter by itself.
253 - Fix bscan, which did not handle walking dcr list.
254 - Remove old attach_jcr_to_device() code.
255 - Fix config from Andy Wettstein's patch to use bitypes.h and detect
256   uint32_t, ... definitions.
257 - Fix a few compiler warnings because of casting pointers to int and
258   vise versa.
259 - Do some minor cosmetics to query.sql. nothing changed.
260 - Don't call stop_thread_timer() in backup.c if timer not started.
261 - Fix bug with out of order JobIds on restore.
262 - Make watchdog examine queues once every 10 seconds instead of once
263   a second.
264 - Add more bools to dev.c
265 - Fix walking attached DCRs in bscan.c
266 - Doc updates
267 - Start work on rescue files. Integrated RAID changes. 
268 - Print a message when query.sql moved to query.sql.old during install.
269 - Move setting of FreeBSD chflags() to after utime() to avoid error
270   messages is immutable bit is set.
271 - Turn off heartbeat in FD when -s is given so that we can 
272   debug without a flood of signals.
273 - Close and reopen the device during an append test in
274   btape. This better tests appending as if Bacula stops/restarts.
275 - Remove old attach/detach_jcr_to_device() code
276 - Add new attached_dcrs code.
277 - Remove unnecessary subroutine for bsnprintf.
278 - Replace sprintf() by home-grown code in edit_uint64 ...
279 - Begin implementation of dev->attached_dcrs. 
280 - Remove scripts/fd.in from configure.in
281 - Add printing of JobId when a Job is started from the console.
282 - Remove fd/fd.in from scripts directory.
283 - Fix a number of bugs in dbcheck concerning the -c option
284   (i.e. with a config file).
285 - Made RH start scripts use -u and -g options.
286 - Many more DCR changes.
287 - Add job message indicating that the job has been rescheduled
288   and when.
289 - Fix job end time so that it is always updated. Previously it
290   was not updated when a job was rescheduled.
291 - Correct SQL for restoring job by path/name. It could sometimes
292   pickup the wrong JobId -- submitted by a user.
293 - Add a number of "%s" in editing database errors -- security issue.
294 - Ensure that the NumVols is incremented and decremented in the
295   pool record when Volumes are created or deleted.
296 - Cleanup error handling when labeling a tape. If vol was read-only,
297   the device would still be marked as having found a label.
298 - Put ftCreationTime into st_ctime of stat packet. Hopefully
299   this will fix the problem of noticing files have been moved
300   into the save path after a Full save.
301 - Fix bug in "status dir" where not all entries are listed.
302 - Cleanup some improper result printing in configure.
303 - Optimize a couple of insertions in binary_insert of dlists.
304
305 Release 1.35.0 08 July 2004:
306 - Apply Christopher Hull's const patch for PostgreSQL
307 - Add code to block.c to detect if block header is destroyed.
308 - Add debug code for memset checking for zeroing 1900-3000 bytes
309   which is what happened to the block headers.
310 - If block header is destroyed, read the next block. Probably
311   should return with new status similar to the SHORT block 
312   return.
313 - Add more debug info to bls for bad blocks.
314 - More implementation of DCRs.
315 - Eliminate argument passing in SD by using dcr.
316 - More int->bool conversions.
317 - Add file:block to a number of read/write error messages.
318 - More int -> bool conversions.
319 - Modify the SD piece by piece to use DCRs everywhere.
320 - Cleanup some printout for query command. 
321 - Fix typo in cats/mysql.c
322 - Work on cleaning up tape driver a bit (use bools, better calling
323   sequences).
324 - Attempt to fix multi-Volume disk backup. Needs to be tested.
325 - Add Regular expressions to FileSet options.
326 - Correct configure.in to use ${MAKE} for doing the dependencies.
327 - Make MySQL and PostgreSQL try for 30 seconds to connect before
328   giving up.  
329 - Correct Gnome 1.4 Makefile to build without cats library.
330 - Correct a crash reported (with patch) by Jonathan Soong 
331   when attempting to backup an ACL on a symlinked file.
332 - Fixed an off by one bug in the new resources pointer code.      
333   res_head array was one too small.
334 - Added Errors to last_job list. This allows detecting jobs
335   that terminated in a warning.
336 - Implement setting the Win32 icon to yellow instead of red
337   when the job terminated OK but with warnings.
338 - Fix the Win32 makefile and VC project file. The links were
339   not including the Win32 dlls.      
340 - Delete some old Win32 code that was turned off.
341 - Eliminate a few more Win32 compiler warnings.
342 - Reduce the output produced by NIS (Win32 install builder).
343 - Simplify some of the #ifdefing in compat.h
344 - Rewrite spooling error handling when I/O error occurs. It is
345   a bit tricky, requiring to truncate the file so that a despooling
346   will work correctly. Needs to be tested.
347 - Make better subroutines for setting up for a new job.
348 - Start putting all DB ids on #defines (going to 64 bits).
349 - Fix gnome-console Makefile.in to work again.
350 - All "level=Incremental/Decremental" to the estimate command. This
351   required some re-arrangement of subroutines at a fairly low level.
352 - Apply Piotr Jaworski's patch (patch-r-status.diff) to update the
353   catalog status when a backup job starts running.
354 - Add (char*) cast to readline call in console.c for old readlines.
355 - Copy Makefile.in from gnome2-console to gnome-console (to eliminate
356   need for cats library).
357 - Modify spooling code to handle write error (e.g. spooling disk full)
358   more gracefully. Previously despooling would fail.
359 - Reduce casting in smartall.c a bit and add counters for 
360   bytes, max_bytes, buffers and max_buffers.
361 - Fixed reload algorithm to stack both job end callback and the
362   table id.
363 - Fixed the orphaned buffer after reload (job_end_push had to be
364   destroyed.
365 - Destroy cond var (jcr->term_wait) only if initialized.
366 - Sort the Scheduled Jobs list by start-time, priority.
367 - Implement resources on a pointer.
368 - Fix Gnome console crash on up/down arrow with no history.
369 - Finish first cut of SIGHUP code. To make really work need res
370   on a single pointer rather than in fixed memory.
371 - Fix a number of places in query.sql where multiple JobIds are
372   printed (due to JobMedia records).
373 - Add new query: List jobs on Volume given Volume name.   
374 - Correct socket close on Win32 in bnet.c (in addition to compat.cpp).
375   Caused fd leak in Win32 for each connection.
376 - Remove vol labeled test in askdir update_volume_info so that non-labeled
377   Volume in catalog can be marked in error.
378 - Close socket in SD when connection rejected. Caused fd leaks.
379 - Initialize job_start_wait cond variable after every new_jcr() otherwise
380   NetBSD gets error in library when trying to delete it without being inited.
381 - Fix typo (9 instead of 0) return status in write_new_volume_label.
382 - Fix mount.c to call routine that correctly marks a volume in error.
383 - Move code to rewrite volume label to subroutine -- a bit cleaner.
384 - Finish implementation and testing of new restore tree code.
385 - Implement feedback while tree is loading.
386 - Eliminate printing INFO message in UpdateDB (cats) -- it generates
387   "false" error messages.
388 - Eliminate some GTK error messages when running the Gnome2 console.
389 - Begin restructuring tree.c for inclusion of the binary_insert()
390   routine.         
391 - Apply Peter Eriksson's lib file order changes in linking for IRIX.
392 - Abort configure if Internal is  selected as the database.
393 - Add testimonials to the Web page
394 - Add the bugs list to the Web page "lists".
395 - Clarify the English in SuSE and Slackware when SD not running.
396 - Applied another extern "C" patch from Peter Eriksson.
397 - Fixed a bunch of VC warning messages.
398 - Applied the patches sent by Andreas Jellinghaus: build Gnome and  
399   wx-console in client-only build if configured; add ./configure option
400   to permit setting of sbin modes -- default is 0745 as before; remove
401   cats library from Gnome console build; remove old version from Gnome
402   About box. Thanks Andreas.
403 - Applied Peter Eriksson's const changes to the source code. Thanks Peter.
404 - Implemented a binary_insert() method for dlists -- intended to be used
405   in the restore tree routines.
406 - Turned on my bsscanf() code, which replaces sscanf() by my routines, which
407   are a subset of sscanf() used by Bacula, but which have known 32/64 bit
408   behavior rather than vendor dependent !@#$%*.