>>>>> On Tue, 3 Dec 2019 11:46:16 -0500, Josh Fisher said:
> 
> On 12/3/2019 10:07 AM, Phil Stracchino wrote:
> > On 2019-12-03 09:15, Radosław Korzeniewski wrote:
> >> Hello,
> >>
> >> wt., 3 gru 2019 o 14:27 Martin Simmons <mar...@lispworks.com
> >> <mailto:mar...@lispworks.com>> napisał(a):
> >>
> >>      Is the current timing useful for some other situation?
> >>
> >>
> >> I do not understand your question.
> >>   
> >>
> >>      It seems like a bug to me too.  To continue your analogy, it is like 
> >> the
> >>      restaurant forcing you to choose a dish when you book the table,
> >>      before you've
> >>      seen the menu of the day.
> >>
> >>
> >> No, absolutely not. When you execute the copy job then all required data
> >> is available and copy jobs simply start, so the menu is available when
> >> you book a table.
> >> But when you go to the restaurant then an admin stop you entering the
> >> room and force you wait until the next day when menu changed - so it is> 
> >> not a surprise.
> > But if you showed up at breakfast time and the maitre'd has made you
> > wait until supper before letting you have your table, he should not
> > force you to make your menu selection from the breakfast menu.  You
> > should get to choose from the supper menu, because that's what the
> > restaurant is serving from NOW.
> 
> 
> That is not the case. The job begins (ie. enters the job queue) when it 
> is scheduled. The job goes into a wait-state if there are higher 
> priority jobs and/or unavailable storage devices, but is still in the 
> job queue. When conditions are met, it resumes (ie. enters running 
> state). It may go into a wait-state again at some point if, for example, 
> the media it writes to becomes full.

Yes, but that is a different wait state.

Bacula logs a "Scheduled time" and a "Start time" for each job, so there is
clearly a specific state change that happens only once at the start time,
which is after waiting for the priority.  For a normal backup, this state
change includes connecting to the SD and FD for example.

__Martin


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to