]> git.sur5r.net Git - bacula/bacula/blob - bacula/technotes-2.1
kes Correct SQLite log table index as reported by Luca Berra.
[bacula/bacula] / bacula / technotes-2.1
1               Technical notes on version 2.1
2
3 General:
4 26Feb07
5 kes  Correct SQLite log table index as reported by Luca Berra.
6 24Feb07
7 ebl  fix fifo stuff, bacula tries to rewind the fifo... Thanks to Andreas
8 22Feb07
9 kes  Begin implementing new comm signals for API.
10 kes  Fix a few places in lib/message.c where the open fd may 
11      not be zeroed.
12 kes  Continue implementing lib/bsock.c (real class).  Make jcr,
13      who, host, and port private. There are new methods to access
14      them for non-class use. This required touching a number of files.
15 21Feb07
16 kes  Add LANG=C to autoconf/randpass so it works with languages other
17      than English.  Fixes bug #788.
18 20Feb07
19 ebl  Revert ClientRunBeforeJob to old position as in 1.38.X.
20      This fixes bug #780
21      You will not be able to generate Include/Exclude list any more.
22      It will be fixed soon.
23      If you want to use this, you can apply
24      trunk/bacula/patches/testing/clientrunbeforejob_can_generate_include_exclude_list.patch
25 19Feb07
26 kes  Restore of sockets created false error messages because Bacula
27      no longer restores sockets, but the code was still trying to
28      set the attributes on a non-existent file. Reported by a user.
29 ebl  finish RecyclePool feature
30      Media will takes Pool.RecyclePool
31      when moving from Scratch to a Pool or when user will do
32      update volume=xxx frompool
33      To use it, add RecyclePool = aPool to your Pool resource
34         Pool {
35                 Name = Default
36                 RecyclePool = Scratch
37                 ...
38         }
39      TODO: update manual
40 kes  Expand new BSOCK class adding signal() and new BNET signals.
41 kes  Begin enhancing the dot commands adding a new API function
42      that returns more information and will make it easier
43      to interface to the Director from a program.
44 18Feb07
45 kes  Make DEVICE fd private. Its new name is m_fd, and can be
46      obtained with dev->fd() outside the class.  This is the
47      first of many DEVICE members to be made private.
48 kes  Implement Michael Renner's idea on having a virtual disk
49      changer. I made some minor modifications (e.g. I did not
50      implement the Virtual Changer directive, but simply set
51      the Changer Command to an empty string.
52 17Feb07
53 kes  Implement a BSOCK send() method that writes the whole record
54      in a single write() request rather than in two.
55 ebl  add update volume=xxx recyclepool=yyyy
56      volume takes recyclepool from pool when using update volume=xxx from pool
57 16Feb07
58 kes  Fix encryption deblocking bug, which caused some restored files
59      to be truncated. This fixes bug #763.
60 kes  Add FD event sequence order prepared by Eric -- for RunScripts.
61 kes  Fix 12am/pm bug as reported in bug #782.
62 13Feb07
63 kes  Apply Eric's ClientRunScriptAfter patch to 2.0 and 2.1.
64 ebl  Use btime_t instead of uint64_t in media patch.
65 11Feb07
66 kes  Optimize the use of the database a bit in the Status dir command.
67      Only open it when needed, ensure that if any previous database
68      was opened, it is closed.
69 10Feb07
70 kes  Correct VolCatBytes bug from media patch.
71 kes  Apply patch from bug #612 by Rudolf Cejka to speedup pruning
72      in the case of orphaned records.
73 kes  Modify dbcheck to handle orphaned JobMedia, Path, Filename,
74      and File records in 300K chunks to be more efficient. This
75      idea came from Juan Luis Frances (if I remember right).
76 kes  Apply Eric's scratch patch that moves a purged Volume to
77      the RecyclePool.  Question: how is RecyclePool set? what
78      happens to the ScratchPool?
79 kes  Apply Eric's media patch that collects read/write media
80      times as well as byte counts.  This patch requires a
81      simultaneous upgrade of the DIR and SD.  Note, there
82      should be some way to turn off timing. I'm not sure
83      times are in Bacula units.
84 kes  Apply Eric's batch-insert patch.
85 09Feb07
86 kes  Update projects list.
87 08Feb07
88 kes  Implement Include/Exclude file lists in FD as dlists using
89      the new dlistString class. This permits efficiently having
90      large include/exclude lists and completes project Item 25.
91 kes  Fix dird/ua_cmds.c so that a cancel command checks if the
92      console is authorized to cancel the job.  This fixes bug 
93      #767.
94 kes  Modify SD so that the VolCatJobs medium record is updated
95      at the beginning of a Job rather than the end.  This
96      fixes bug #775 where exceeding MaxVolJobs caused jobs
97      to fail.
98 kes  Added a mutex around getting and setting Volume information
99      so that multiple simultaneous jobs will single thread.
100 07Feb07
101      Switch to using Subversion
102 kes  Remove src/pygtk-console/ from configure
103 06Feb07
104 kes  Delete src/lib/btree.c from win32 build, then add rblist.c
105      plus the entrypoints.
106 kes  Apply patch supplied that corrects debug print
107      in canceling jobs for max run time.  Supplied as
108      part of bug #621, which was previously fixed.
109 05Feb07
110 kes  Test on job_canceled() and sd_msg_thread_done inside
111      loop starting the message thread to avoid a race condition.
112      Fixes bug #771.
113 kes  Remove rl_catch_signal from console.c as it conflicted
114      with the header definition. Fixes bug #765.
115 ebl  Fixes bug #766 about RunsOnClient = Yes
116 04Feb07
117 kes  Clarify some stored/acquire messages to indicate if the
118      problem is with read or append.
119 02Feb07
120 kes  Fix memory leak with storage ids in cats/sql_get.c
121 kes  Terminate watchdog earlier to avoid reference to released
122      memory -- reported by Jason Austin.
123 kes  Move closing the database from jobq.c to the director daemon
124      termination routine. This fixes memory leaks for shadow jobs
125      (i.e. migration jobs).
126 kes  Free up the unique jobid chain items in migrate.c.  This fixes
127      a memory leak problem.
128 kes  Convert some ugly looking for statements to use foreach_alist
129      in findlib/find.c.  This will facilitate converting the structures
130      to use dlist (for large include/exclude lists).
131 kes  Fix a bug in the btree.c and btree.h routines, then rename them
132      rblist and add them to be built in src/lib.  Include some new
133      methods written by Rudolf Cejka that make the code more readable
134      (hides some of the ugly casting).
135 kes  Add set_next() and set_prev() methods which make the code much more 
136      readable. Also add a new dlistString class that facilitates storing
137      strings in dlists.  To be used in the large include/exclude lists.
138 kes  Make some trivial modifications to lib/tree.h that use rblist
139      rather than dlist for storing the tree links. This was suggested
140      by Rudolf Cejka.  The result of this is that the restore tree now
141      uses red-black binary trees rather than simple linked lists. This
142      should give rather dramatic speed improvements for directories
143      contining large numbers of directories/files (more than 10000).
144 28Jan07 
145 kes  Fix maxruntime bug #621.
146 26Jan07
147 ebl  Implement the include JobID in spool file name project.
148 kes  Reorder projects file in order determined by Jan 2007 vote.
149 kes  Implement item #12 on project list -- quick release of FD by
150      the SD.
151 kes  Fix open of SQLite3 db where user does not have write permission
152      so that DIR does not crash. Fixes bug #761.
153 25Jan07
154 kes  Add back missing @ in Win32 Makefile.
155 kes  Change 'Device not configured to autolabel' from INFO
156      to WARNING.
157 kes  Fix jobq.c to restart failed jobs when Reschedule Times = 0 
158      which should restart an indefinite # of times.
159 kes  Fix configure --help to print --with-mysql[=DIR]. Same for
160      other DIR specifications.
161 23Jan07
162 rn   Fix msvc build problems. Fix bacula.dll exports for msvc build.
163      Fix path quoting in SQLite scripts.
164      Fix problems with SHGetFolderPath.
165 19Jan07
166 kes  Create patches/2.0.1-restart.patch. Fixes bug #755.
167 18Jan07
168 kes  Fix Job restart on error bug that promotes an Inc to a Full
169      backup.  This should fix bug #755.
170 kes  Add qt-console and first cut of code.
171
172 Version 2.0.1
173 12Jan07
174 kes  Fix Bacula->Documentation link on Win32 to point to index.html
175      instead of bacula.html. Fixed bug #750.
176 kes  Return JobId in db_get_job_record() when JobId==0. This should
177      fix bug #741.
178 kes  Do not release source pointers when restarting a failed job.
179 11Jan07
180 kes  Add dynamic dll entry point for SHGetFolderPath to Win32 code.
181      This *should* fix bug #747.
182 kes  Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
183      bug #742.
184 09Jan07
185 kes  Modify USTORE constructor to set an empty store_source string, 
186      and don't copy the store_source string in a cancel.  Hopefully
187      this will fix Arno's seg fault, bug #744.
188 kes  Add back code to disable conio in configure. Fixes bug #743.
189 kes  Correct the Options scanner in the FD to correctly handle  
190      SHA1 option, which was eating the next option.  Reported by    
191      Sebastien Guilbaud.
192 kes  Add code to indicate when the SD is spooling, spool wait, and 
193      despooling as requested by Alan Brown.
194
195 Version 2.0.0 released: 4 January 2007