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