]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/pools: record the list of pool registrations even when merging them
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Mar 2025 10:33:36 +0000 (11:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Mar 2025 16:09:30 +0000 (17:09 +0100)
commit9091c5317ff2744a6784f84988bbd6659977669f
tree5ce094b805653d637a022fcb9689a8fc2e6d7903
parentbaf8b742b4c8742c9b126706a7c4a7c4fd450622
MINOR: cli/pools: record the list of pool registrations even when merging them

By default, create_pool() tries to merge similar pools into one. But when
dealing with certain bugs, it's hard to say which ones were merged together.
We do have the information at registration time, so let's just create a
list of registrations ("pool_registration") attached to each pool, that
will store that information. It can then be consulted on the CLI using
"show pools detailed", where the names, sizes, alignment and flags are
reported.
doc/management.txt
include/haproxy/pool-t.h
src/pool.c