From c5af3a6d15358fa8b5be6151239862efde4c36f7 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 7 Oct 2014 15:27:33 +0200 Subject: [PATCH] DOC: indicate that weight zero is reported as DRAIN It's not the same state but reported as such. --- doc/configuration.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index ea1962593c..58aaaf0621 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -8760,7 +8760,9 @@ agent-check - An ASCII representation of a positive integer percentage, e.g. "75%". Values in this format will set the weight proportional to the initial - weight of a server as configured when haproxy starts. + weight of a server as configured when haproxy starts. Note that a zero + weight is reported on the stats page as "DRAIN" since it has the same + effect on the server (it's removed from the LB farm). - The word "ready". This will turn the server's administrative state to the READY mode, thus cancelling any DRAIN or MAINT state