[Yum] failover in yum

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

 



On Tue, 2003-05-13 at 22:46, Jack Neely wrote:
> Folks,
> 
> I want failover.
> 
> I make yum smart.
> 
> This patch makes baseurl in the config file into a list.  Uses spaces as
> delimiters.  Also adds a "failovermethod" to each server section to
> select the failover method.  If you leave it out it does round
> robin...which is not really round robin right now...but yeah...  Your
> config files will work without making any changes...this just adds a few
> extras options to them.
> 
> Attached are two things....a diff against cvs of the 4_2 branch and the
> failover module I added.  The basic idea is that we have a base failover
> method class that gets inherited by other classes so folks can define
> their own failover methods....sence I've seen lots of ideas suggested.
> 
> Mainly I need to touch up the failover classes but it works as a proof
> of concept.  Note that clientStuff has its own grab() function now.
> 
> go-go-gadget asbestos

I like the idea a lot. And the implementation doesn't scare me too much
at all. I looked throught the patch and there is atleast a couple of
places in config.py where I'd want to make it act more like the other
options but in general it looks pretty good..

thanks, Jack.

-sv




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux