]> git.kaiwu.me - haproxy.git/commit
MEDIUM: thread: change thread_resolve_group_mask() to return group-local values
authorWilly Tarreau <w@1wt.eu>
Tue, 28 Jun 2022 06:27:43 +0000 (08:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 18:16:30 +0000 (20:16 +0200)
commit6018c02c36c1a92ac7bc111d05236559702c3e49
tree647399f874ca6b2c2b32a6c1ccc413b5804828fd
parent0b51eab76475b9f07b60815315d4c93f09e1b27f
MEDIUM: thread: change thread_resolve_group_mask() to return group-local values

It used to turn group+local to global but now we're doing the exact
opposite as we want to stick to group-local masks. This means that
"thread 3-4" might very well emit what "thread 2/1-2" used to emit
till now for 2 groups and 4 threads. This is needed because we'll
have to support group-local thread masks in receivers.

However the rest of the code (receivers) is not ready yet for this,
so using this code with more than one thread group will definitely
break some bindings.
src/thread.c