]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] checks: don't log backend down for all zero-weight servers
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Oct 2010 15:16:42 +0000 (17:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:34 +0000 (19:04 +0200)
commitd64d225e52e8f400c9e4782c799f2bde7a08c752
treed9096f9d60f9e0bdbd362d912660550ae25b6a4f
parent996a92c6dd02120de5d6aa24e5687638f7bc33db
[BUG] checks: don't log backend down for all zero-weight servers

In a down backend, when a zero-weight server is lost, a new
"backend down" message was emitted and the down transition of that
backend was wrongly increased. This change ensures that we don't
count that transition again.

This patch should be backported to 1.3.
(cherry picked from commit 60efc5f745b5fa70d811f977727592e47e32a281)
src/checks.c