Kern Sibbald [Sat, 3 May 2008 09:01:28 +0000 (09:01 +0000)]
kes Implement regression that explicitly tests swapping a Volume
from one drive to another.
kes Enhance disk-changer to detect most error conditions.
kes Fix SD code so that it properly swaps a Volume between drives.
This fixes bug #1083.
Kern Sibbald [Fri, 2 May 2008 13:06:54 +0000 (13:06 +0000)]
kes Apply libdbi patch from Joao Freitas for regress and for
Bacula trunk. Regress now works with libdbi. Nice.
kes Apply .nobackup patch from bug #1077 submitted by
Edwin Groothuis.
kes Apply Bastian Friedrich's patch that adds %p to edit the pool
name into jobs cloned via the run directive.
Eric Bollengier [Thu, 1 May 2008 14:27:28 +0000 (14:27 +0000)]
ebl Add MaxRunSchedTime option that specifies the maximum allowed time
that a job may run, counted from when the job was scheduled.
ebl Fix MaxWaitTime option that specifies the maximum allowed time that
a job may block waiting for a resource, counted from the when the job starts
ebl Rename (add) Max(Incr|Diff|Full)WaitTime to Max(Incr|Diff|Full)RunTime
Kern Sibbald [Thu, 1 May 2008 11:50:35 +0000 (11:50 +0000)]
Apply patch from bug #1076 by Tullio Andreatta <t.andreatta@troppoavanti.it>
that implements multiple commands per line in the console when using
readline. Modify the default to use a semicolon as the command separator.
Change fileset and client windows from tree widgets to table widgets.
Fix a segfault on closing the window in mainwin. You may desire to look
at the change to mainwin. 2 more windows to change to table widgets.
kes Experiment with allowing multiple read jobs.
kes Move final volume swapping code to DCR method and
call it from acquire_for_read().
kes When wrong volume is mounted during read, unload_autochanger.
kes Stop searching for Volumes in SD askdir if DIR returns the
same volume name twice in a row.
kes Close bat console windows first to eliminate error message
from the notifier.
kes Tweak the swap Volume from one drive to another code so that
it now seems to work.
kes Resolve several problems with recycling that broke the new
code (these problems are in 2.2.9 as well).
kes Remove the volume lock when calling the sysop code.
kes Don't mark a reserved volume with no writers as unused otherwise
jobs fail.
kes Rework class structures for VOLRES, DCR, and DEVICE to make
the method names a bit more logical, and for more logically
handling the responsibilities.
kes Remove redundant code in terminating the scheduler that just
causes a seg fault in many cases.
kes Cleanup releasing a volume and make it a DCR method.
kes Correct name overloading in mount.c
kes Replace released flag in VOLRES with reserved and add access
methods for the VOLRES class.
kes Prevent volume from being released while being swapped.
Eric Bollengier [Wed, 9 Apr 2008 19:55:36 +0000 (19:55 +0000)]
ebl Add sanity checks for VolWriteTime and VolReadTime
ebl Take care of bad clock changes while computing VolWriteTime
and VolReadTime. This should fix or limit #1066