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