Kern Sibbald [Fri, 9 Feb 2007 10:44:31 +0000 (10:44 +0000)]
09Feb07
kes Update projects list. 08Feb07
kes Implement Include/Exclude file lists in FD as dlists using
the new dlistString class. This permits efficiently having
large include/exclude lists and completes project Item 25.
kes Fix dird/ua_cmds.c so that a cancel command checks if the
console is authorized to cancel the job. This fixes bug
#767.
Kern Sibbald [Thu, 8 Feb 2007 10:54:40 +0000 (10:54 +0000)]
kes Fix dird/ua_cmds.c so that a cancel command checks if the
console is authorized to cancel the job. This fixes bug
#767.
kes Modify SD so that the VolCatJobs medium record is updated
at the beginning of a Job rather than the end. This
fixes bug #775 where exceeding MaxVolJobs caused jobs
to fail.
kes Added a mutex around getting and setting Volume information
so that multiple simultaneous jobs will single thread.
Kern Sibbald [Tue, 6 Feb 2007 13:58:26 +0000 (13:58 +0000)]
kes Delete src/lib/btree.c from win32 build, then add rblist.c
plus the entrypoints.
kes Apply patch supplied that corrects debug print
in canceling jobs for max run time. Supplied as
part of bug #621, which was previously fixed. 05Feb07
kes Test on job_canceled() and sd_msg_thread_done inside
loop starting the message thread to avoid a race condition.
Fixes bug #771.
kes Remove rl_catch_signal from console.c as it conflicted
with the header definition. Fixes bug #765.
Kern Sibbald [Fri, 2 Feb 2007 10:42:11 +0000 (10:42 +0000)]
kes Fix memory leak with storage ids in cats/sql_get.c
kes Terminate watchdog earlier to avoid reference to released
memory -- reported by Jason Austin.
kes Move closing the database from jobq.c to the director daemon
termination routine. This fixes memory leaks for shadow jobs
(i.e. migration jobs).
kes Free up the unique jobid chain items in migrate.c. This fixes
a memory leak problem.
kes Convert some ugly looking for statements to use foreach_alist
in findlib/find.c. This will facilitate converting the structures
to use dlist (for large include/exclude lists).
kes Fix a bug in the btree.c and btree.h routines, then rename them
rblist and add them to be built in src/lib. Include some new
methods written by Rudolf Cejka that make the code more readable
(hides some of the ugly casting).
kes Add set_next() and set_prev() methods which make the code much more
readable. Also add a new dlistString class that facilitates storing
strings in dlists. To be used in the large include/exclude lists.
kes Make some trivial modifications to lib/tree.h that use rblist
rather than dlist for storing the tree links. This was suggested
by Rudolf Cejka. The result of this is that the restore tree now
uses red-black binary trees rather than simple linked lists. This
should give rather dramatic speed improvements for directories
contining large numbers of directories/files (more than 10000).
Kern Sibbald [Fri, 26 Jan 2007 21:26:50 +0000 (21:26 +0000)]
ebl Implements the include JobID in spool file name project.
kes Reorder projects file in order determined by Jan 2007 vote.
kes Implement item #12 on project list -- quick release of FD by
the SD.
Kern Sibbald [Thu, 25 Jan 2007 11:26:57 +0000 (11:26 +0000)]
kes Change 'Device not configured to autolabel' from INFO
to WARNING.
kes Fix jobq.c to restart failed jobs when Reschedule Times = 0
which should restart an indefinite # of times.
kes Fix configure --help to print --with-mysql[=DIR]. Same for
other DIR specifications.