]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: indicate that weight zero is reported as DRAIN
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Oct 2014 13:27:33 +0000 (15:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Oct 2014 13:27:33 +0000 (15:27 +0200)
It's not the same state but reported as such.

doc/configuration.txt

index ea1962593c34d688a357feedaa7bf245e91bf16b..58aaaf0621f7eaae06bd62bd0d5e93316f867c5d 100644 (file)
@@ -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