Re: Possible Bug - weight configuration and DOWN servers

From: Willy Tarreau <w#1wt.eu>
Date: Wed, 10 Mar 2010 10:58:13 +0100


Hi Jozef,

On Wed, Mar 10, 2010 at 09:44:02AM +0100, Jozef Hovan wrote:
> Hi Willy,
>
> there is no problem with hashing of usernames (we have hundreds of
> different usernames and in normal there are distributed equally).

OK.

> The problem is, when I stop my cluster nodes and only ser2 is turned on.
> Requests are routed by haproxy also on ser1, which is off (and it was
> off when I restarted HAproxy). I am able to see it on statistics page.

I'm very embarrassed with that, because I don't even see how this is possible. Only servers that are up are included in load balancing, regardless of the LB algo.

> Aren't you able to reproduce the situation? It seems like a bug with
> routing algorithm when combination DOWN+unequal weights occurrs.

I will try. Could you send me (in private) some example requests or at least one username with which you can reliably reproduce the issue ?

> I am sorry I am unable to test it on 1.4 untill I will not find rpm
> package for RH 5 :(

Anyway, there is no reason for it to be broken on 1.3, so let's sort this out first.

Regards,
Willy Received on 2010/03/10 10:58

This archive was generated by hypermail 2.2.0 : 2010/03/10 11:00 CET