Re: maintenance mode and server affinity

From: Willy Tarreau <w#1wt.eu>
Date: Tue, 2 Aug 2011 21:12:06 +0200


On Tue, Aug 02, 2011 at 03:08:32PM -0400, James Bardin wrote:
> > - the server does not have the SRV_RUNNING flag in maintenance mode
> > - the "persist" option on the backend might be one reason
> > - I'm assuming there is no "force-persist" rule
> >
>
> OK, that's it.

Fine!

> I didn't realize that was the same code path for manually disabled
> servers. I had option persist in there to prevent a server that misses
> a few healthchecks under load from dumping all it's clients. Graceful
> maintenance is more important than this edge case though, so I'll
> remove it.

If you want a server that misses a few health check to remain up, then simply increase its "fall" parameter :-)

Thanks for the quick reply !
Willy Received on 2011/08/02 21:12

This archive was generated by hypermail 2.2.0 : 2011/08/02 21:15 CEST