LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Changing server weights

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Changing server weights
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sun, 13 May 2001 09:14:42 +0800 (CST)
On Sat, 12 May 2001, Horms wrote:

> On Sat, May 12, 2001 at 06:47:50AM -0400, Joseph Mack wrote:
> > On Sat, 12 May 2001, Wensong Zhang wrote:
> >
> > > I don't think that we need change this. Let us keep it simple,
> >
> >
> > that's why I want the change. In a script, if I want to set the weight of
> > a connection to 'int', at the moment I need to know whether the weight is
> > already set. If it is set, I have to first delete it and then re-add it
> > (or else edit it). If it isn't set, I add it. But no matter what I do, I
> > have to first run commands and trap errors. People get alarmed if the
> > output of a script says "you may get an error here and then you may not,
> > we don't know, but you can ignore it (if it happens)".
>
> My intial reaction to this was the same as Wensong's, but on thinking
> about it more I think Joe makes a lot of sense. I've sent Joe and
> Wensong a patch that merges the behaviour of add and edit. I'll leave
> it to Wensong to decide to include it or not.
>
>

I haven't received the patch. However, it really doesn't make sense to me,
I am afraid that I will not include it.

Cheers,

Wensong



<Prev in Thread] Current Thread [Next in Thread>