DOC: config: prefer-last-server: add notes for non-deterministic algorithms
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Tue, 17 Jun 2025 13:33:12 +0000 (13:33 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Oct 2025 13:28:53 +0000 (15:28 +0200)
commit7a0125e62f9ae0624f46785b8efab6fc9415a2fc
tree69db34c91344497b997e73edfa7e553c0b468dc5
parent168ad4d3031d80fbd60ca3823b0914054fcd0d38
DOC: config: prefer-last-server: add notes for non-deterministic algorithms

Add some notes which load-balancing algorithm can be considered as
deterministic or non-deterministic and add some examples for each type.
This was asked via mailing list to clarify the usage of
prefer-last-server option.

This can be backported to all stable versions.

(cherry picked from commit cdb2f8d780a27778cc23669693a9910e07135e8a)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit d6ca14b764039ed1c5d21d2fa83706996fd0a717)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit db39526525ec1124f8742410c573a621311c0ce3)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
doc/configuration.txt