Skip to content

Commit 75b302d

Browse files
committed
DOC: management: explain the change of behavior of the program section
The program section does not work exactly the same way with the master-worker rework of HAProxy 3.1. Let's explain it in the program documentation.
1 parent 8e0e7d9 commit 75b302d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/configuration.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4769,6 +4769,12 @@ In master-worker mode, it is possible to launch external binaries with the
47694769
master, these processes are called programs. These programs are launched and
47704770
managed the same way as the workers.
47714771

4772+
Since version 3.1, the program section has a slightly different behavior, the
4773+
section is parsed and the program is started from the master, but the rest of
4774+
the configuration is loaded in the worker. This mean the program configuration
4775+
is completely separated from the worker configuration, and a program could be
4776+
reexecuted even if the worker configuration is wrong upon a reload.
4777+
47724778
During a reload of HAProxy, those processes are dealing with the same
47734779
sequence as a worker:
47744780

0 commit comments

Comments
 (0)