]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stats: tracking servers may incorrectly report an inherited DRAIN status
authorWilly Tarreau <w@1wt.eu>
Wed, 21 May 2014 15:13:13 +0000 (17:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 May 2014 15:13:13 +0000 (17:13 +0200)
commitefe282260e40b00f7ec7100d61a79a6d20f244b8
treec2c220186bc316dd2eeddaabfbb7fd08f326e539
parent0943757a2144761c60e416b5ed07baa76934f5a4
BUG/MINOR: stats: tracking servers may incorrectly report an inherited DRAIN status

The DRAIN status is not inherited between tracked servers, so the stats
page must only use the reported server's status and not the tracked
server's status, otherwise it misleadingly indicates a DRAIN state when
a server tracks a draining server, while this is wrong.
src/dumpstats.c