]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: backend: make "balance random" consider tg local req rate when loads are...
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 16 Feb 2026 15:12:15 +0000 (16:12 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 17 Feb 2026 08:51:46 +0000 (09:51 +0100)
commit747ff09818996bdc3667ceb8d2a11c367095e869
treed1bd23560845f8a1bec541942c42f85c58ab88fe
parent1274c21a42aef878cb6ba1941982827fadb5c501
MEDIUM: backend: make "balance random" consider tg local req rate when loads are equal

This is a follow up to b6bdb2553 ("MEDIUM: backend: make "balance random"
consider req rate when loads are equal")

In the above patch, we used the global sess_per_sec metric to choose which
server we should be using. But the original intent was to use the per
thread group statistic.

No backport needed, the previous patch already improved the situation in
3.3, so let's not take the risk of breaking that.
src/backend.c