]> git.kaiwu.me - haproxy.git/commit
MAJOR: peers: Deal with updates per bucket
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Oct 2025 20:09:15 +0000 (22:09 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Oct 2025 14:14:53 +0000 (15:14 +0100)
commit032f789243416f75010d254297eeb1c36a21c4ac
tree824e07e8b6d2f750a65a69002a2ad2131b33ac22
parent3dcd46c529fbf7167b2ca7d215639ab98e436ab3
MAJOR: peers: Deal with updates per bucket

updates are now handled by bucket. It means there is an update list per
bucket. The update lock was also moved in buckets. And it is the real
purpose of this patch. This should reduce contention on this lock.

At the peer level, on the shared table, <last> and <end> markers are now
also per bucket.
include/haproxy/peers-t.h
include/haproxy/stick_table-t.h
src/peers.c
src/stick_table.c