]> git.sur5r.net Git - bacula/bacula/blob - bacula/kes-1.39
- Continue implementing migration.
[bacula/bacula] / bacula / kes-1.39
1               Technical notes on version 1.39  
2                         Kern Sibbald
3
4 General:
5
6 Changes to 1.39.5
7 30Jan06
8 - Continue implementing migration.
9 - Implement support for removable filesystems in SD.
10 - Ensure that btraceback scripts can be read by anyone.
11 - Replace dvd-freespace and dvd-writepart by dvd-handler.
12 - Correct bug where canceling restore before the FD contacts
13   the SD causes the drive to be left in read mode.
14 - Move ofline_or_rewind into DEVICE::close().
15 - Eliminate close_device.
16 - Convert several dev subroutines to methods (e.g. bsf,
17   eod, ...)
18 - Eliminate force_close_device().
19 - Implement Device Type directive in Device resource that
20   can have values File, Tape, Fifo, DVD, or Prog.
21 - Add has_cap() method to Device.
22 Changes to 1.39.4
23 17Jan06
24 - Add patch from bug #527 to allow RedHat user to specify
25   options/user/group for starting each daemon in      
26   /etc/sysconf/bacula.
27 16Jan06
28 - Add two new queries to query.sql provided by Arno. One
29   list volumes known to the Storage device, and the other
30   lists volumes possibly needing replacement (error, ...).
31 15Jan06
32 - Add periodic (every 24 hours) garbage collection of memory 
33   pool by releasing free buffers.
34 14Jan06
35 - Correct bug counting sized (for display only) in smartall.c
36 - Print FD mempool stats if debug > 0 rather than 5.
37 12Jan06
38 - Make db_lock() mutex error fail the job rather than abort
39   Bacula.  Canceling the job caused the mutex to fail.
40 - Correct bug in alist.c that re-allocated the list if the
41   number of items goes to zero.
42 - Move the reservation system thread locking to the top level
43   so that one job at a time tries all possible drives before
44   waiting.
45 - Implement a reservation 'fail' message queue that is built         
46   and destroyed on each pass through the reservation system.
47   These messages are displayed in a 'Jobs waiting to reserve
48   a drive' list during a 'status storage='.  Note, multiple
49   messages will generally print for each JobId because they
50   represent the different problems with either the same drive
51   or different drives.  If this output proves too confusing
52   of voluminous, I will display it only when debug level 1
53   or greater is enabled in the SD.
54 11Jan06
55 - Add enable/disable job=<job-name>.  This command prevents
56   the specified job from being scheduled. Even when disabled,
57   the job can be manually started from the console.
58 - During 'update slots' clear all InChanger flags where the
59   StorageId is zero (old Media records).
60
61 Beta release 1.38.4:
62 09Jan06
63 - Fix autochanger code to strip leading spaces from returned
64   slots number. Remove bc from chio-changer.
65 - Back port a bit of 1.39 crypto code to reduce diffs.
66 - Fix first call to autochanger that missed close()ing the
67   drive. Put close() just before each run_program().  Fixes
68   Arno's changer bug.
69 07Jan06
70 - Add PoolId to Job record when updating it at job start time.
71 06Jan06
72 - Pull in more code from 1.39 so that there are fewer file
73   differences (the new ua_dotcmds.c, base64.h, crypto.h
74   hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
75   util.c. Aside from ua_dotcmds.c these are mostly crypto
76   upgrades.
77 - Implement new method of walking the jcr chain. The
78   incr/dec of the use_count is done within the walking
79   routines.  This should prevent a jcr from being freed
80   from under the walk routines.
81
82
83 Changes to 1.39.3:
84 04Jan06
85 - Start implementing Verify list output.
86 - Move the suitable_drive flag to a better place to prevent
87   premature termination of the reservation if all drives
88   are busy -- should fix Arno's diff/inc pool failures.
89 26Dec05
90 - Add mutex to single thread VSS code in Win32.
91 22Dec05
92 - Simplify code in askdir.c that waits for creating an appendable
93   volume so that it can handle multiple returns from the wait
94   code.
95 - Modify the wait code to permit multiple returns.
96 - Return a zero when "autochanger drives" is called and
97   it is not an autochanger.
98 - Make rewind_dev() a method taking a DCR as an argument.
99   This permits closing and reopening the drive if the
100   rewind fails as happens if the drive was loaded while the
101   file descriptor was open. This refreshes the file descriptor.
102 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
103   if the device is open or not.  This should eliminate
104   Arnos problem.
105 - Return error if reserve cannot find at least one suitable device.
106 - Make wait_for_sysop() return correct state information.
107 - Fix Win32 state file problem. write was not using compat
108   code. This should fix bug #500.
109 21Dec05
110 - Modify gui on command to set only GUI mode and not batch.
111 - Modify .messages command to always print messages regardless
112   of the mode.
113 - If GUI mode is on, suppress automatic printing of 
114   You have messages. 
115 - Delete old bnet packet code.
116 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
117   wx-console.
118 - Modify restore command in wx-console to set gui on and to use
119   only .messages instead of messages.  Hopefully this fixes bug
120   #514.
121 - Fix seg fault in exit of acquire when canceling a job --
122   reported by Wolfgang Denk
123 - Pull in latest reservation system changes from 1.38
124 - Make .messages command always print messages regardless
125   of the automessages flag.
126 17Dec05
127 - Fix seg fault if user labels a drive directory bug #513
128 - Remove quotes around Version as it breaks things.
129 16Dec05
130 - Merge in Aleksandar Milivojevic's mods to the spec file.
131 - Apply sparse code fix for raw drives and fifos. Bug 506
132 - Thorsten fixed Unicode cd problem with wx-console bug 505.
133 14Dec05
134 - Correct reservation system to do a last ditch try
135   for any mounted volume, then anyone anywhere.
136 - Add quotes around table Version because of
137   error in MySQL 4.1.15 -- bug report submitted.
138 - Correct some minor problems with btape in the fill
139   command.
140 - Updates to ssh-tunnel from Joshua Kugler.
141 - Added a report.pl program from Jonas Bjorklund.            
142 - Simplify the O_NONBLOCK open() code for tape drives,
143   and always open nonblocking.
144 - Do not wait for open() if EIO returned (shouldn't happen).
145 - Eliminate 3 argument to tape open().
146 - Correct the slot # edited in the 3995 Bad autochanger unload
147   message.
148 - With -S on bscan (show progress) do not divide by zero.
149 13Dec05
150 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
151 - When dcr is freed, also broadcast dev->wait_next_vol signal.
152 - Remove unused code in wait_for_device.  
153 - Make wait_for_device() always return after 60 seconds of wait.
154
155 Changes to 1.39.2:
156 13Dec05
157 - Add stubs for non-crypto build.
158 12Dec05
159 - Use localhost if no network configured
160 11Dec05
161 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
162 - Remove debug print.
163 - Add bail_out in error during state file reading.
164 10Dec05
165 - Merge changes made to 1.38.3 into HEAD
166 - Add stubs for pygtk-console code
167 - Create Makefile.in for pygtk-console code
168 09Dec05
169 - Merge updates into 1.38 branch
170 - Update specs to include mysql4 define.
171 - Fix when attributes are sent, must be after binit().
172 - Stop read_record() if status not ok in second loop.
173 - Return rec->FileIndex in dcr->VolLastIndex for normal
174   and partial records in read_record().  This allows bscan
175   to get FileIndex at EOT correct.
176 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
177 08Dec05
178 - Fix Win32 built to work with new crypto code.
179 - Apply patch supplied by user (slightly modified) to fix
180   correct detection of holes in block devices and FIFOs. 
181   Bug # 506.
182 - Apply patch supplied by user (slightly modified) 
183   to fix SD hang with multiple pools and bad client
184   IP. Fixes bug # 508.
185 07Dec05
186 - Add nagios plugin to the examples directory. Submitted by
187   Christian Masopust.
188 - Remove warning message about multiple saves of hardlinked files
189   from find_one.c as it can generate too many warning messages.
190 - Modify most restore error messages to be queued so that they
191   appear at the end of the job rather than mixted with the restore
192   listing where they could be "lost".
193 06Dec05
194 - Reset timeout values before select() per patch from 
195   Frank Sweetser for problems with non-blocking sockets.
196 - Unlink the state file if either reading or writing it gets
197   errors.  Hopefully this will fix Win32 exit problems.
198 - Add sanity check in append.c to ensure that dcr is not NULL.
199   This can happen if multiple drive autochanger SCSI control
200   channel and drive indicies do not correspond.
201 05Dec05
202 - Get next volume from Scratch pool before creating a volume.
203 - Set new Pool defaults in Vol when moved from Scratch Pool.
204 - Remove argument from create_bacula_database for SQLite as it
205   caused an error.
206 - Add back index code so that two drive autochangers can get
207   a second tape.
208 - Change a bunch of debug levels to aid debugging autochangers.
209 - Fix reservation so that mutexes are properly applied.
210 - Rework reservation algorithm so that two drives can be used
211   at the same time.
212 04Dec05
213 - Landon merged his data encription changes into the HEAD
214 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
215   If this patch is applied, the number of days can be specified with
216   "list nextvol days=xx"
217   or
218   "status dir days=xx"
219   My use case is to be able to preview the next scheduled job (and the 
220   next tape to be used) on fridays if there are no scheduled jobs during 
221   the weekend.
222 Changes to 1.39.1:
223 03Dec05
224 - Fix font code in gnome2 console user patch. Fixes bug #501.
225 - Fix malformatted bnet error message that caused seg fault
226   fixes bug 502
227 - Applied user patch to improve README.vc8 in src/win32.
228 29Nov05
229 - Add Migrate, Copy, Archive Job types (some where there)
230 - Correct some more editing of JobId's (for 64 bit compatibility).
231 - Ensure that StorageId is stored in Media record when ever possible.
232 - Add Migration Job to Job.
233 - Add Migration Time, Migration High Bytes, Migration Low Bytes
234   Next Pool to Pool resource.
235 - Add more code to mac.c (migration archive copy).
236 - Change Start Storage daemon job to require read and write storage
237   pointers.
238 - Pass read storage data to SD as well as write storage data.
239 - Remove old code from winservice.cpp
240 - Break on error in scan.
241 - Fix typo in signal.c
242 - Separate read/write DCR in SD.  Add jcr->read_dcr.
243 - Cleanup how find_device() works.
244 - Add read output to Status in SD.
245 Changes to 1.39.0:
246 23Nov05
247 - Add red-black btree routines
248 21Nov05
249 - Remove abs() in bfile.c so that it compiles on Solaris. 
250   Bug #491.
251 20Nov05
252 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
253 - Fix bnet-server bug found on OpenBSD. Bug #486
254 - Fix cancel failure bug. Bug #481
255 - Fix failure when Pool name has spaces. Bug #487   
256 - Fix SD crash in autochanger code. Mutex failure. Bug #488
257 - Fix a couple of free()s in src/filed/acl.c
258 - Fix memory overrun in bfile.c in building OS X resource
259   fork filename. Bug #489 
260 - Add Pool name to SD status output.
261 14Nov05
262 - Apply SunOS patch for ACLs submitted by David Duchscher.                  
263 - Make sure to set storage before trying to set drive.
264 - Add bacula_mail_summary.sh to examples directory. It makes
265   a single email summary of any number of jobs. Submitted
266   by Adrew J. Millar.
267 - Make sure when we do a mount to unblock the device even
268   if the drive could not be opened.  
269 13Nov05
270 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
271   and correct a few minor problems to make it build on Linux.
272 10Nov05
273 - Remove delete of CVS from all Makefiles
274 - Fix seg fault when clicking on Add button in wx-console
275   restore panel.  Bug #470.
276 - Fix copyright date and URL typo -- bug #468.
277 - Change autostart install for FreeBSD to look for rc.conf  
278   rather than rc.local as suggested fix for bug #466.
279 - Apply patch supplied by Eric Bollinger to fix PostgreSQL    
280   grant on status. Bug #465
281 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
282   update script. Bug #464
283 - Tweak #ifdefing a bit in new Win32 stream code.
284 - Fix #ifdeffing for FD_NO_SEND_TEST.
285 - Add documentation of performance #defines