]> git.sur5r.net Git - bacula/bacula/blob - bacula/kes-1.39
Integrate addition of line count limitation to bsmtp -l from
[bacula/bacula] / bacula / kes-1.39
1               Technical notes on version 1.39  
2                         Kern Sibbald
3
4 General:
5 20Mar06
6 - Integrate addition of line count limitation to bsmtp -l from
7   Sebastian Stark <stark at tuebingen.mpg.de>
8 17Mar06
9 - Implement regex test program in tools directory.
10 - Attempt to fix time problem with bsmtp with foreign langs.
11 - Add strip_trailing_newline() submitted by user.
12 - Implement regex matching in migrate.c
13 16Mar06
14 - Fix bug #537 to allow arbitrary time to mount a volume for
15   restore, if polling is turned on.     
16 - If dir_user or dir-group is specified in ./configure apply it to
17   the working-dir. Fixes bug #533.
18 - If rescheduling a job cancel the previous incarnation with the SD.
19   Fixes bugs #566 and 557.
20 - Fix bug #567 do_message() definition type conflict.
21
22 14Mar06
23 - Add more jcr methods and make mutex and use_count private.
24 - Create lock/unlock methods for jcr.
25 - Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
26   records to get to seek position.
27 - Integrate patch from bug #561 to correct conio.c signal definitions.
28 - Fix Rescheduling failed Jobs. Ensure that SD message thread 
29   terminates correctly by doing pthread_kill(). Do not destroy
30   SD cond wait variable between executions of the job. Use local
31   mutex for cond variable to avoid blocking jcr chain. Fix poor 
32   use of jcr use count in jobq.c for restarted jobs.
33 - Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
34   lib/jcr.c -- prevents locking the jcr chaing.
35 - Apply patch from bug #564, which corrects listing volumes with
36   multiple autochangers. Apply same fix to next volume list.
37 - Fix bug #562 where restore bootstrap file is not unique.
38 - More details in implementing David's migration syntax proposal.
39 - Save and restore dcr when swapping drives so that if we have
40   a write dcr it is not lost.
41 - Use new routine lock_reservations() to lock the reservations
42   system, and call it while looking for a volume in askdir.c.
43   This could possibly fix bug #543.
44 - Stop SD command loop if job is canceled.
45
46 08Mar06
47 - Remove old code from findlib/create_file.c
48 - Rename mac.c migrate.c
49 - Add user friendly display of VolBytes in job report.
50 - Rename target... to previous... to make it a bit easier to
51   understand.
52 - Add selection type and selection pattern to Migration (idea
53   given by David Boyes). 
54
55 04Mar06
56 - The po files should now be current.
57 - Fix new sql_use_result() code to properly release the
58   buffers in all cases.
59 - Use the keyword ujobid to mean the unique job id; job or jobname
60   to mean the Job name given on the Name directive, and jobid to
61   be the numeric (non-unique) job id.
62 - Allow listing by any of the above.
63 - Add the user friendly job report code for reporting job elapsed time
64   and rates with suffexes from John Kodis <kodis at comcast.net>.
65 - Add Priority and JobLevel as Python settable items.
66 - Use TEMPORARY table creation where the table is created by
67   Bacula.
68 - Add new code submitted by Eric for waiting on specific jobid.
69 - Add ACL checking for the dot commands.
70 - Fix restore of writable FIFOs.
71 - Fix a bug in bpipe where the string was freed too early.
72 27Feb06
73 - Modify the Python class examples to inherit object -- new way
74   of defining classes. Patch from Felix Schwarz.
75 - Implement jobuid to replace old usage of job in keywords as
76   suggested by Eric Bollengier.
77 - Apply patch for enhancing wait from Eric Bollengier. On can now:
78    wait  (wait for all jobs to stop)
79    wait jobid=nn
80    wait jobuid=unique id
81    wait job=job-name
82 - Implement write variables for Python to set Priority (anytime), and
83   Job Level, only during JobInit event.
84 26Feb06
85 - Fix the block listing bug pointed out by Arno.
86 - Update the po files at Eric's request.
87 24Feb06
88 - Fix Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to 
89   accept time qualifiers.
90 - Make catalog respect ACL.
91 - Add recycle count to Media record.
92
93 Changes to 1.39.6-beta1 24Feb04
94 23Feb06
95 - Add Rudolf Cejka's new rc-chio-changer.
96 - Implement pulling Volume from Scratch Pool if the
97   Volume is in the autochanger.
98 - Implement additional command arguments for update Volume.
99
100 Changes to 1.39.5 
101 22Feb06
102 - Back port changes to 1.38.5
103 - Fix recycle SQL for StorageId.
104 - Fix misplaced quote in mtx-changer script.
105 20Feb06
106 - Note. Your database must be updated, or you must create 
107   a new database. I have not yet incremented the database level.
108 - Add Location table. 
109 - Add LocationId, DeviceId, and MediaTypeId to Media record.
110 18Feb06
111 - Implement create/get mac record in database for adding extended
112   Migration data to the job record.
113 - Add new MAC table to update/make database scripts.
114 - Return Storage name used when getting VolumeNames for a job.
115 - Change bsr file keyword Storage to Device, which is more accurate.
116 - Ensure that Mac records are pruned/purged.
117 - Tweak SD tools to deal with changing media type.
118 - Integrate more dev.c subroutines as methods (e.g. strerror, bsr, ...)
119 - Pass pointer to dcr pointer to acquire_device_for_read() so
120   that the subroutine can switch devices, and hence dcrs.
121 - Modify the multiple MediaType read code to re-use the same
122   dcr when switching devices. This makes the code much more
123   robust.
124 - Integrate patch from Karl Hakimian that reads JobIds, FileIndexes
125   from a table for restore.
126 - Add Storage name to VolParams, but it really should be Device.
127 14Feb06
128 - Add disk-changer to scripts directory + configure/Makefile
129 - Eliminate PoolId from jcr -- it is in jcr->jr.PoolId
130 - Implement store_bit scanner to replace store_yesno.  Mostly done.
131 - Implement new store_bool that stores in a bool. 
132 - Add true/false to yes/no conf directives.
133 - Make first cut at changing appropriate store_yesno to store_bool.
134 - Complete implementation of Pool storage devices.
135 - Move starting clones to job.c
136 - Move create_restore_bootstrap_file() to job.c
137 - Make copy_storage() more general to be able to handle
138   Pool storage.
139 - Cleanup a lot of migration code for manual running, including
140   using Pool storage.
141 - Move getting a scratch Volume into a subroutine.
142 - Make all places a Volume that is added to a pool to 
143   respect max vols.
144 - Fix bug in autochanger recycle code (improper edit 64 bit).
145 - Fix segfault in restore command when no value specified.
146 - Start adding code to handle multiple MediaTypes in restore.
147 - Eliminate race condition in getting Volume name for
148   two drive autochanger.
149 - More debug code in autochanger.
150 - Add storage keyword to bootstrap file, add parsing.
151 - Move slot in bsr file into Volume record as there will be
152   a different slot for each Volume.
153 - Create reserve.h
154 07Feb06
155 - Implement Pool storage overrides.
156 06Feb06
157 - Implement first cut of Migration.
158 - Implement mysql_use_result() from patch by Karl Hakimian.
159   This reduces significantly the memory consumption during
160   the restore tree building, and hence runs faster too.
161 - Implement StorageId patch supplied by user (reggie) in bug
162   #536.  This should permit Bacula to work correctly with two
163   autochangers.
164 - Implement Job listing variations suggested by a user.
165 - Move updating bootstrap code in backup.c to subroutine
166   update_bootstrap_file().
167 - Add new job status elapsed time and bytes written user
168   friendly job report output patch sent by John Kodis
169   <kodis at comcast.ne>.
170 - Implement a storage list in Pools.
171 - Separate out setup_job() code from run_job().
172 - Get migration working -- lots of changes in mac.c in both
173   DIR and SD.
174 - Apply patch from user (Eric Bollinger I think) that fixes a  
175   DIR crash when no arguments are supplied to a dot command.
176 - Fix typo (strcpy->strcmp) in ua_prune.c as reported by Martin.
177 - Fix command arg name->volume in label command of gnome-console.
178 - Fix SD acquire.c to release correct DCR by explicitly testing
179   on the dcr address rather than trying to devine if it is a read
180   or write dcr.  This failed in error conditions when the device was
181   not fully setup.
182  
183 30Jan06
184 - Apply user supplied patch for more readable rate output
185   in job report.
186 - Continue implementing migration.
187 - Implement support for removable filesystems in SD.
188 - Ensure that btraceback scripts can be read by anyone.
189 - Replace dvd-freespace and dvd-writepart by dvd-handler.
190 - Correct bug where canceling restore before the FD contacts
191   the SD causes the drive to be left in read mode.
192 - Move ofline_or_rewind into DEVICE::close().
193 - Eliminate close_device.
194 - Convert several dev subroutines to methods (e.g. bsf,
195   eod, ...)
196 - Eliminate force_close_device().
197 - Implement Device Type directive in Device resource that
198   can have values File, Tape, Fifo, DVD, or Prog.
199 - Add has_cap() method to Device.
200 Changes to 1.39.4
201 17Jan06
202 - Add patch from bug #527 to allow RedHat user to specify
203   options/user/group for starting each daemon in      
204   /etc/sysconf/bacula.
205 16Jan06
206 - Add two new queries to query.sql provided by Arno. One
207   list volumes known to the Storage device, and the other
208   lists volumes possibly needing replacement (error, ...).
209 15Jan06
210 - Add periodic (every 24 hours) garbage collection of memory 
211   pool by releasing free buffers.
212 14Jan06
213 - Correct bug counting sized (for display only) in smartall.c
214 - Print FD mempool stats if debug > 0 rather than 5.
215 12Jan06
216 - Make db_lock() mutex error fail the job rather than abort
217   Bacula.  Canceling the job caused the mutex to fail.
218 - Correct bug in alist.c that re-allocated the list if the
219   number of items goes to zero.
220 - Move the reservation system thread locking to the top level
221   so that one job at a time tries all possible drives before
222   waiting.
223 - Implement a reservation 'fail' message queue that is built         
224   and destroyed on each pass through the reservation system.
225   These messages are displayed in a 'Jobs waiting to reserve
226   a drive' list during a 'status storage='.  Note, multiple
227   messages will generally print for each JobId because they
228   represent the different problems with either the same drive
229   or different drives.  If this output proves too confusing
230   of voluminous, I will display it only when debug level 1
231   or greater is enabled in the SD.
232 11Jan06
233 - Add enable/disable job=<job-name>.  This command prevents
234   the specified job from being scheduled. Even when disabled,
235   the job can be manually started from the console.
236 - During 'update slots' clear all InChanger flags where the
237   StorageId is zero (old Media records).
238
239 Beta release 1.38.4:
240 09Jan06
241 - Fix autochanger code to strip leading spaces from returned
242   slots number. Remove bc from chio-changer.
243 - Back port a bit of 1.39 crypto code to reduce diffs.
244 - Fix first call to autochanger that missed close()ing the
245   drive. Put close() just before each run_program().  Fixes
246   Arno's changer bug.
247 07Jan06
248 - Add PoolId to Job record when updating it at job start time.
249 06Jan06
250 - Pull in more code from 1.39 so that there are fewer file
251   differences (the new ua_dotcmds.c, base64.h, crypto.h
252   hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
253   util.c. Aside from ua_dotcmds.c these are mostly crypto
254   upgrades.
255 - Implement new method of walking the jcr chain. The
256   incr/dec of the use_count is done within the walking
257   routines.  This should prevent a jcr from being freed
258   from under the walk routines.
259
260
261 Changes to 1.39.3:
262 04Jan06
263 - Start implementing Verify list output.
264 - Move the suitable_drive flag to a better place to prevent
265   premature termination of the reservation if all drives
266   are busy -- should fix Arno's diff/inc pool failures.
267 26Dec05
268 - Add mutex to single thread VSS code in Win32.
269 22Dec05
270 - Simplify code in askdir.c that waits for creating an appendable
271   volume so that it can handle multiple returns from the wait
272   code.
273 - Modify the wait code to permit multiple returns.
274 - Return a zero when "autochanger drives" is called and
275   it is not an autochanger.
276 - Make rewind_dev() a method taking a DCR as an argument.
277   This permits closing and reopening the drive if the
278   rewind fails as happens if the drive was loaded while the
279   file descriptor was open. This refreshes the file descriptor.
280 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
281   if the device is open or not.  This should eliminate
282   Arnos problem.
283 - Return error if reserve cannot find at least one suitable device.
284 - Make wait_for_sysop() return correct state information.
285 - Fix Win32 state file problem. write was not using compat
286   code. This should fix bug #500.
287 21Dec05
288 - Modify gui on command to set only GUI mode and not batch.
289 - Modify .messages command to always print messages regardless
290   of the mode.
291 - If GUI mode is on, suppress automatic printing of 
292   You have messages. 
293 - Delete old bnet packet code.
294 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
295   wx-console.
296 - Modify restore command in wx-console to set gui on and to use
297   only .messages instead of messages.  Hopefully this fixes bug
298   #514.
299 - Fix seg fault in exit of acquire when canceling a job --
300   reported by Wolfgang Denk
301 - Pull in latest reservation system changes from 1.38
302 - Make .messages command always print messages regardless
303   of the automessages flag.
304 17Dec05
305 - Fix seg fault if user labels a drive directory bug #513
306 - Remove quotes around Version as it breaks things.
307 16Dec05
308 - Merge in Aleksandar Milivojevic's mods to the spec file.
309 - Apply sparse code fix for raw drives and fifos. Bug 506
310 - Thorsten fixed Unicode cd problem with wx-console bug 505.
311 14Dec05
312 - Correct reservation system to do a last ditch try
313   for any mounted volume, then anyone anywhere.
314 - Add quotes around table Version because of
315   error in MySQL 4.1.15 -- bug report submitted.
316 - Correct some minor problems with btape in the fill
317   command.
318 - Updates to ssh-tunnel from Joshua Kugler.
319 - Added a report.pl program from Jonas Bjorklund.            
320 - Simplify the O_NONBLOCK open() code for tape drives,
321   and always open nonblocking.
322 - Do not wait for open() if EIO returned (shouldn't happen).
323 - Eliminate 3 argument to tape open().
324 - Correct the slot # edited in the 3995 Bad autochanger unload
325   message.
326 - With -S on bscan (show progress) do not divide by zero.
327 13Dec05
328 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
329 - When dcr is freed, also broadcast dev->wait_next_vol signal.
330 - Remove unused code in wait_for_device.  
331 - Make wait_for_device() always return after 60 seconds of wait.
332
333 Changes to 1.39.2:
334 13Dec05
335 - Add stubs for non-crypto build.
336 12Dec05
337 - Use localhost if no network configured
338 11Dec05
339 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
340 - Remove debug print.
341 - Add bail_out in error during state file reading.
342 10Dec05
343 - Merge changes made to 1.38.3 into HEAD
344 - Add stubs for pygtk-console code
345 - Create Makefile.in for pygtk-console code
346 09Dec05
347 - Merge updates into 1.38 branch
348 - Update specs to include mysql4 define.
349 - Fix when attributes are sent, must be after binit().
350 - Stop read_record() if status not ok in second loop.
351 - Return rec->FileIndex in dcr->VolLastIndex for normal
352   and partial records in read_record().  This allows bscan
353   to get FileIndex at EOT correct.
354 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
355 08Dec05
356 - Fix Win32 built to work with new crypto code.
357 - Apply patch supplied by user (slightly modified) to fix
358   correct detection of holes in block devices and FIFOs. 
359   Bug # 506.
360 - Apply patch supplied by user (slightly modified) 
361   to fix SD hang with multiple pools and bad client
362   IP. Fixes bug # 508.
363 07Dec05
364 - Add nagios plugin to the examples directory. Submitted by
365   Christian Masopust.
366 - Remove warning message about multiple saves of hardlinked files
367   from find_one.c as it can generate too many warning messages.
368 - Modify most restore error messages to be queued so that they
369   appear at the end of the job rather than mixted with the restore
370   listing where they could be "lost".
371 06Dec05
372 - Reset timeout values before select() per patch from 
373   Frank Sweetser for problems with non-blocking sockets.
374 - Unlink the state file if either reading or writing it gets
375   errors.  Hopefully this will fix Win32 exit problems.
376 - Add sanity check in append.c to ensure that dcr is not NULL.
377   This can happen if multiple drive autochanger SCSI control
378   channel and drive indicies do not correspond.
379 05Dec05
380 - Get next volume from Scratch pool before creating a volume.
381 - Set new Pool defaults in Vol when moved from Scratch Pool.
382 - Remove argument from create_bacula_database for SQLite as it
383   caused an error.
384 - Add back index code so that two drive autochangers can get
385   a second tape.
386 - Change a bunch of debug levels to aid debugging autochangers.
387 - Fix reservation so that mutexes are properly applied.
388 - Rework reservation algorithm so that two drives can be used
389   at the same time.
390 04Dec05
391 - Landon merged his data encription changes into the HEAD
392 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
393   If this patch is applied, the number of days can be specified with
394   "list nextvol days=xx"
395   or
396   "status dir days=xx"
397   My use case is to be able to preview the next scheduled job (and the 
398   next tape to be used) on fridays if there are no scheduled jobs during 
399   the weekend.
400 Changes to 1.39.1:
401 03Dec05
402 - Fix font code in gnome2 console user patch. Fixes bug #501.
403 - Fix malformatted bnet error message that caused seg fault
404   fixes bug 502
405 - Applied user patch to improve README.vc8 in src/win32.
406 29Nov05
407 - Add Migrate, Copy, Archive Job types (some where there)
408 - Correct some more editing of JobId's (for 64 bit compatibility).
409 - Ensure that StorageId is stored in Media record when ever possible.
410 - Add Migration Job to Job.
411 - Add Migration Time, Migration High Bytes, Migration Low Bytes
412   Next Pool to Pool resource.
413 - Add more code to mac.c (migration archive copy).
414 - Change Start Storage daemon job to require read and write storage
415   pointers.
416 - Pass read storage data to SD as well as write storage data.
417 - Remove old code from winservice.cpp
418 - Break on error in scan.
419 - Fix typo in signal.c
420 - Separate read/write DCR in SD.  Add jcr->read_dcr.
421 - Cleanup how find_device() works.
422 - Add read output to Status in SD.
423 Changes to 1.39.0:
424 23Nov05
425 - Add red-black btree routines
426 21Nov05
427 - Remove abs() in bfile.c so that it compiles on Solaris. 
428   Bug #491.
429 20Nov05
430 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
431 - Fix bnet-server bug found on OpenBSD. Bug #486
432 - Fix cancel failure bug. Bug #481
433 - Fix failure when Pool name has spaces. Bug #487   
434 - Fix SD crash in autochanger code. Mutex failure. Bug #488
435 - Fix a couple of free()s in src/filed/acl.c
436 - Fix memory overrun in bfile.c in building OS X resource
437   fork filename. Bug #489 
438 - Add Pool name to SD status output.
439 14Nov05
440 - Apply SunOS patch for ACLs submitted by David Duchscher.                  
441 - Make sure to set storage before trying to set drive.
442 - Add bacula_mail_summary.sh to examples directory. It makes
443   a single email summary of any number of jobs. Submitted
444   by Adrew J. Millar.
445 - Make sure when we do a mount to unblock the device even
446   if the drive could not be opened.  
447 13Nov05
448 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
449   and correct a few minor problems to make it build on Linux.
450 10Nov05
451 - Remove delete of CVS from all Makefiles
452 - Fix seg fault when clicking on Add button in wx-console
453   restore panel.  Bug #470.
454 - Fix copyright date and URL typo -- bug #468.
455 - Change autostart install for FreeBSD to look for rc.conf  
456   rather than rc.local as suggested fix for bug #466.
457 - Apply patch supplied by Eric Bollinger to fix PostgreSQL    
458   grant on status. Bug #465
459 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
460   update script. Bug #464
461 - Tweak #ifdefing a bit in new Win32 stream code.
462 - Fix #ifdeffing for FD_NO_SEND_TEST.
463 - Add documentation of performance #defines