[Ovirt-devel] [PATCH] make taskomatic.rb robust to database outages

Hugh O. Brock hbrock at redhat.com
Fri May 23 20:34:40 UTC 2008


On Fri, May 23, 2008 at 04:54:29PM +0200, Chris Lalancette wrote:
> steve linabery wrote:
> > Hi ovirt,
> > 
> > Resurrecting this patch that I wrote before I started having trouble
> > with my appliance. I decided (in the absence of comments) that it was
> > better for script to become a daemon and connect at earliest
> > opportunity if DB connection failed at initial runtime (logging this
> > fact, of course).
> 
> OK, looks pretty good.  It doesn't cover all the cases; for instance, if you
> stop the database after we've started executing the task, but before we hit
> "task.save", we won't re-process the task if/when the database comes back up.
> But that is OK for now.  This is better than it was, and we can improve it over
> time.
> 
> ACK
> 
> Chris Lalancette
> 

Committed based on the fact that taskomatic hasn't seen any love in quite a while.

--Hugh




More information about the ovirt-devel mailing list