[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] A bug in 2.2.8-jobmedia.patch?

On Tuesday 01 April 2008 07:51:27 Tom Ivar Helbekkmo wrote:
> Kern Sibbald <kern@xxxxxxxxxxx> writes:
> > You seem to have a very good environment for testing this problem, so
> > I would appreciate it if you could try the src/stored/spool.c file
> > that I have attached to this email.  It works in my tests here, but to
> > duplicate your case of fast and slow backups with multiple spooling is
> > going to take me a bit of work, so if you can confirm that this fixes
> > it, it would be a *big* help.
> It works!  I scheduled a set of backup jobs for last night that included
> the scenario you mention, along with the other failure mode, the
> multiple smaller jobs spooling at the same time, and a number of other
> backup jobs.  The run also included a volume change due to a full tape.
> Everything that's written to the JOBMEDIA table is now correct.

Great. Thanks for testing this!

> I like this fix -- it does exactly what it has to do to make the
> spooling code work properly without changing the surrounding code.

Yes, I had to think about it a bit, but this ended up being a very clean 
solution.  It in effect duplicates the non-spooling code :-)

Best regards,


PS: I recopied the list so that they see the outcome of this.

Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
Bacula-devel mailing list

This mailing list archive is a service of Copilotco.