On Tue, 3 Sept 2024 at 22:26, Aaron Kuehler <[email protected]> wrote:
>
> Allow the user to set the "initial state" of a server.
>
> Context:
>
> Servers are always set in an UP status by default. In
> some cases, further checks are required to determine if the server is
> ready to receive client traffic.
>
> This introduces the "init-state {up|down}" configuration parameter to
> the server.
>
> - when not set, the server is considered available as soon as a connection
>   can be established.
> - when set to 'up', the server is considered available as soon as a
>   connection can be established.
> - when set to 'down', the server is initially considered unavailable until
>   it successfully completes its health checks.
>
> The server's init-state is considered when the HAProxy instance
> is (re)started, a new server is detected (for example via service
> discovery / DNS resolution), a server exits maintenance, etc.

Will this honour the functionality coming from load-server-state-from-file?
I assume if users utilize the aforementioned setting this new functionality,
which is great and thanks a lot for delivering it, will not kick in.

Regards,
Pavlos


Reply via email to