MINOR: global: add a new "thread-group" directive
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Sep 2021 11:55:10 +0000 (13:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:22:26 +0000 (17:22 +0200)
commitd04bc3ac214038ba42a459f93d2330f26f53475a
tree4e6fc1d3c44824f9cae33f83c126112979fb860e
parentc33b969e352660f84ec4852877968ed29f224526
MINOR: global: add a new "thread-group" directive

This registers a mapping of threads to groups by enumerating for each thread
what group it belongs to, and marking the group as assigned. It takes care of
checking for redefinitions, overlaps, and holes. It supports both individual
numbers and ranges. The thread group is referenced from the thread config.
doc/configuration.txt
include/haproxy/tinfo-t.h
src/thread.c