]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: counters: document that tg shared counters are tied to shm-stats-file mapping
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 16 Sep 2025 16:30:51 +0000 (18:30 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 17 Sep 2025 09:31:29 +0000 (11:31 +0200)
commit644b6b99255d4e853c195446b703bcdb2d1e8e18
tree5ac1349d527ba870d067803d8484c47d370de5c1
parent31b3be7aaeaa0893795246a91da2f7bdc3857a65
MINOR: counters: document that tg shared counters are tied to shm-stats-file mapping

Let's explicitly mention that fe_counters_shared_tg and
be_counters_shared_tg structs are embedded in shm_stats_file_object
struct so any change in those structs will result in shm stats file
incompatibility between processes, thus extra precaution must be
taken when making changes to them.

Note that the provisionning made in shm_stats_file_object struct could
be used to add members to {fe,be}_counters_shared_tg without changing
shm_stats_file_object struct size if needed in order to preserve
shm stats file version.
include/haproxy/counters-t.h