Amanda-Users

Re: amanda-2.4.4p3, file driver, chg-disk, and infinite driver retries

2004-10-21 01:15:20
Subject: Re: amanda-2.4.4p3, file driver, chg-disk, and infinite driver retries
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 21 Oct 2004 01:06:57 -0400
On Wed, Oct 20, 2004 at 10:52:47PM -0400, Todd Pfaff wrote:
> 
> Jean-Louis supplied me with a patch which I modified slightly
> and that I'm  now using.

He's good isn't he :))

> It turns out that some code in server-src/driver.c will allow a dump 
> to be retried indefinitely, if dumper returns TRYAGAIN and taper returns 
> DONE.  See around line 2203 in 2.4.4p3 server-src/driver.c.
> 
> ... .  But consistently with vtapes, if a client is
> alive during planning and was added to the schedule, and then this client 
> goes offline before the dump starts, this condition will occur whereby 
> dumper says TRYAGAIN, taper says DONE, forever until killed (or until 
> taper gets an error for some other reason I guess).

Interesting edge case.
Glad JLM was able to recognize it so quickly.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)