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