Hi Malcolm,

On Thu, Apr 09, 2015 at 02:31:16PM +0100, Malcolm Turnbull wrote:
> Willy / Simon,
> 
> I think I've got a bit confused myself -
> 
> I've just installed the patches and tested and it fixes the issues we
> seeing with HAProxy getting stuck in DRAIN mode when the agent
> temporarily responds with 0% idle.
> i.e. when the load on the server decreases HAProxy should
> automatically start passing traffic again.
> 
> It would however probably make sense to keep the current behaviour of
> having a 0 weight highlighted in blue. (but not having the DRAIN state
> activated)
> I think it is potentially important to know that the DRAIN state or
> AGENT DRAIN STATE is different to just weight=0 and UP.
> 
> I'm happy with any colours basically as long as just setting 0 weight
> from the agent  doesn't force agent drain.
> 
> Does that make any sense?

Yes that makes a lot of sense. The set of available colors is shrinking
a bit, but that's clearly doable (but requires more changes since for now
the color is tied to the reported state, which is why Simon had to change
the test).

> And sorry if I have caused even more confusion!

No problem :-)

Cheers,
Willy


Reply via email to