On Wednesday 14 September 2005 21:12, Mark Bober wrote: > On Tue, Sep 13, 2005 at 07:03:56PM +0200, Arno Lehmann wrote: > > To avoid broblems with broken network hardware :-) the Heartbeat > > Interval setting in the configuration is a good choice. > > Right. I'm not too worried about it, I can make the firewall behave, and > already have. The results are what interested me more. > > > The design of bacula does make it an error - the idea is that a job can > > only be considererd good if all parties acknowledge the work was done > > correctly. > > > > Although, in case of spooling, I think yuo've got a point, but if the FD > > didn't wait for the SD to report "Everything done" how could it know > > that the job really is written to tape completely? As bacula works > > today, spooled data can not be despooled a second time, or even be used > > as a bacula volume... > > Well, I'd think that as far as the FD is concerned, it's job was done when > the spool-to-disk ended. (and for that matter, does the FD really > contribute an 'opinion' about the state of a job anyway, other than to > inform the SD/DIR it can't do something asked of it?) > > State really isn't kept on the FD, so it doesn't have to care if a job is > done, once it's told to stop sending data. The SD knows it has the data, > and that it's all correct - it is simply moving it from disk to tape at > that point, and the FD's status shouldn't fail that portion of the backup. > Unless the SD is able to take an error on the disk-to-tape portion, realize > it, and request a second copy of things from the FD - that would > necessitate a constant line of communication after the spool is done. > > I'm mainly thinking about laptops here, that might possibly move away once > the user realizes that her disk isn't clicking away, and think the backup > is done, while the spooling may still be occuring.
I see your point, but the design of Bacula (which I like and plan to keep) is that each component sends its data and waits for a handshake saying that all is done as you requested. Only then does it report back a success to the Director. Also, though it is not used, but perform multiple tasks with the SD, so it always must wait for confirmation before proceeding ... -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users