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>
Tue, 26 Aug 2025 06:24:14 +0000 (08:24 +0200)
commitdb39526525ec1124f8742410c573a621311c0ce3
tree3981024ca77ff257ab7fae62970c8815337edf9a
parent051f51fe8417e072bdc949a050e0b5377073adca
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>
doc/configuration.txt