From 75b302d123506c3da949d64936a9450ad8666230 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Fri, 8 Nov 2024 11:57:11 +0100 Subject: [PATCH] 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. --- doc/configuration.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index 21fc7e0cd..4310c6b0b 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -4769,6 +4769,12 @@ In master-worker mode, it is possible to launch external binaries with the master, these processes are called programs. These programs are launched and managed the same way as the workers. +Since version 3.1, the program section has a slightly different behavior, the +section is parsed and the program is started from the master, but the rest of +the configuration is loaded in the worker. This mean the program configuration +is completely separated from the worker configuration, and a program could be +reexecuted even if the worker configuration is wrong upon a reload. + During a reload of HAProxy, those processes are dealing with the same sequence as a worker: -- 2.47.3