]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: Add DRAIN state and report it on the stats page
authorSimon Horman <horms@verge.net.au>
Mon, 25 Nov 2013 01:46:40 +0000 (10:46 +0900)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2013 06:31:16 +0000 (07:31 +0100)
commit8c3d0be9877ba758e1f038f680d3a07177c24db5
tree782f14907556ba5ca597d1498e31aa896e84c77a
parent671b6f02b56930086b8f7fc9123928afc340b775
MEDIUM: Add DRAIN state and report it on the stats page

Add a DRAIN sub-state for a server which
will be shown on the stats page instead of UP if
its effective weight is zero.

Also, log if a server enters or leaves the DRAIN state
as the result of an agent check.

Signed-off-by: Simon Horman <horms@verge.net.au>
include/proto/server.h
include/types/server.h
src/cfgparse.c
src/checks.c
src/dumpstats.c