]> git.sur5r.net Git - bacula/bacula/blob - bacula/technotes-2.1
kes Optimize the use of the database a bit in the Status dir command.
[bacula/bacula] / bacula / technotes-2.1
1               Technical notes on version 2.1
2
3 General:
4 11Feb07
5 kes  Optimize the use of the database a bit in the Status dir command.
6      Only open it when needed, ensure that if any previous database
7      was opened, it is closed.
8 10Feb07
9 kes  Correct VolCatBytes bug from media patch.
10 kes  Apply patch from bug #612 by Rudolf Cejka to speedup pruning
11      in the case of orphaned records.
12 kes  Modify dbcheck to handle orphaned JobMedia, Path, Filename,
13      and File records in 300K chunks to be more efficient. This
14      idea came from Alan Brown (if I remember right).
15 kes  Apply Eric's scratch patch that moves a purged Volume to
16      the RecyclePool.  Question: how is RecyclePool set? what
17      happens to the ScratchPool?
18 kes  Apply Eric's media patch that collects read/write media
19      times as well as byte counts.  This patch requires a
20      simultaneous upgrade of the DIR and SD.  Note, there
21      should be some way to turn of timing. I'm not sure
22      times are in Bacula units.
23 kes  Apply Eric's batch-insert patch.
24 09Feb07
25 kes  Update projects list.
26 08Feb07
27 kes  Implement Include/Exclude file lists in FD as dlists using
28      the new dlistString class. This permits efficiently having
29      large include/exclude lists and completes project Item 25.
30 kes  Fix dird/ua_cmds.c so that a cancel command checks if the
31      console is authorized to cancel the job.  This fixes bug 
32      #767.
33 kes  Modify SD so that the VolCatJobs medium record is updated
34      at the beginning of a Job rather than the end.  This
35      fixes bug #775 where exceeding MaxVolJobs caused jobs
36      to fail.
37 kes  Added a mutex around getting and setting Volume information
38      so that multiple simultaneous jobs will single thread.
39 07Feb07
40      Switch to using Subversion
41 kes  Remove src/pygtk-console/ from configure
42 06Feb07
43 kes  Delete src/lib/btree.c from win32 build, then add rblist.c
44      plus the entrypoints.
45 kes  Apply patch supplied that corrects debug print
46      in canceling jobs for max run time.  Supplied as
47      part of bug #621, which was previously fixed.
48 05Feb07
49 kes  Test on job_canceled() and sd_msg_thread_done inside
50      loop starting the message thread to avoid a race condition.
51      Fixes bug #771.
52 kes  Remove rl_catch_signal from console.c as it conflicted
53      with the header definition. Fixes bug #765.
54 ebl  Fixes bug #766 about RunsOnClient = Yes
55 04Feb07
56 kes  Clarify some stored/acquire messages to indicate if the
57      problem is with read or append.
58 02Feb07
59 kes  Fix memory leak with storage ids in cats/sql_get.c
60 kes  Terminate watchdog earlier to avoid reference to released
61      memory -- reported by Jason Austin.
62 kes  Move closing the database from jobq.c to the director daemon
63      termination routine. This fixes memory leaks for shadow jobs
64      (i.e. migration jobs).
65 kes  Free up the unique jobid chain items in migrate.c.  This fixes
66      a memory leak problem.
67 kes  Convert some ugly looking for statements to use foreach_alist
68      in findlib/find.c.  This will facilitate converting the structures
69      to use dlist (for large include/exclude lists).
70 kes  Fix a bug in the btree.c and btree.h routines, then rename them
71      rblist and add them to be built in src/lib.  Include some new
72      methods written by Rudolf Cejka that make the code more readable
73      (hides some of the ugly casting).
74 kes  Add set_next() and set_prev() methods which make the code much more 
75      readable. Also add a new dlistString class that facilitates storing
76      strings in dlists.  To be used in the large include/exclude lists.
77 kes  Make some trivial modifications to lib/tree.h that use rblist
78      rather than dlist for storing the tree links. This was suggested
79      by Rudolf Cejka.  The result of this is that the restore tree now
80      uses red-black binary trees rather than simple linked lists. This
81      should give rather dramatic speed improvements for directories
82      contining large numbers of directories/files (more than 10000).
83 28Jan07 
84 kes  Fix maxruntime bug #621.
85 26Jan07
86 ebl  Implement the include JobID in spool file name project.
87 kes  Reorder projects file in order determined by Jan 2007 vote.
88 kes  Implement item #12 on project list -- quick release of FD by
89      the SD.
90 kes  Fix open of SQLite3 db where user does not have write permission
91      so that DIR does not crash. Fixes bug #761.
92 25Jan07
93 kes  Add back missing @ in Win32 Makefile.
94 kes  Change 'Device not configured to autolabel' from INFO
95      to WARNING.
96 kes  Fix jobq.c to restart failed jobs when Reschedule Times = 0 
97      which should restart an indefinite # of times.
98 kes  Fix configure --help to print --with-mysql[=DIR]. Same for
99      other DIR specifications.
100 23Jan07
101 rn   Fix msvc build problems. Fix bacula.dll exports for msvc build.
102      Fix path quoting in SQLite scripts.
103      Fix problems with SHGetFolderPath.
104 19Jan07
105 kes  Create patches/2.0.1-restart.patch. Fixes bug #755.
106 18Jan07
107 kes  Fix Job restart on error bug that promotes an Inc to a Full
108      backup.  This should fix bug #755.
109 kes  Add qt-console and first cut of code.
110
111 Version 2.0.1
112 12Jan07
113 kes  Fix Bacula->Documentation link on Win32 to point to index.html
114      instead of bacula.html. Fixed bug #750.
115 kes  Return JobId in db_get_job_record() when JobId==0. This should
116      fix bug #741.
117 kes  Do not release source pointers when restarting a failed job.
118 11Jan07
119 kes  Add dynamic dll entry point for SHGetFolderPath to Win32 code.
120      This *should* fix bug #747.
121 kes  Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
122      bug #742.
123 09Jan07
124 kes  Modify USTORE constructor to set an empty store_source string, 
125      and don't copy the store_source string in a cancel.  Hopefully
126      this will fix Arno's seg fault, bug #744.
127 kes  Add back code to disable conio in configure. Fixes bug #743.
128 kes  Correct the Options scanner in the FD to correctly handle  
129      SHA1 option, which was eating the next option.  Reported by    
130      Sebastien Guilbaud.
131 kes  Add code to indicate when the SD is spooling, spool wait, and 
132      despooling as requested by Alan Brown.
133
134 Version 2.0.0 released: 4 January 2007