]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lbprm: implement true "sticky" balance algo
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 28 Mar 2024 16:24:53 +0000 (17:24 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 29 Mar 2024 16:08:37 +0000 (17:08 +0100)
commit9aea6df81ffcb6d0ee64dda7c2876deb2698c77f
tree53537b3b4acfef3ebfa052e063c953fc3a07de0f
parentd0692d7019cecaa87c8dc411312211045eac4b05
MINOR: lbprm: implement true "sticky" balance algo

As previously mentioned in cd352c0db ("MINOR: log/balance: rename
"log-sticky" to "sticky""), let's define a sticky algorithm that may be
used from any protocol. Sticky algorithm sticks on the same server as
long as it remains available.

The documentation was updated accordingly.
Makefile
doc/configuration.txt
include/haproxy/backend-t.h
include/haproxy/lb_ss-t.h [new file with mode: 0644]
include/haproxy/lb_ss.h [new file with mode: 0644]
src/backend.c
src/cfgparse.c
src/lb_ss.c [new file with mode: 0644]
src/log.c