add option to disable registration of node during cluster formation

This commit is contained in:
Frederik Bosch 2025-02-01 14:09:03 +01:00
parent 8355bc691e
commit 481ffb2d6c
1 changed files with 7 additions and 7 deletions

View File

@ -1353,13 +1353,6 @@ end}.
{datatype, {enum, [disc, disk, ram]}}
]}.
%% Register node during cluster formation.
%%
{mapping, "cluster_formation.registration", "rabbit.cluster_formation.register", [
{datatype, {enum, [true, false]}}
]}.
{translation, "rabbit.cluster_formation.node_type",
fun(Conf) ->
%% if peer discovery backend isn't configured, don't generate
@ -1377,6 +1370,13 @@ fun(Conf) ->
end
end}.
%% Register node during cluster formation when backend supports registration.
%%
{mapping, "cluster_formation.registration", "rabbit.cluster_formation.register", [
{datatype, {enum, [true, false]}}
]}.
%% Cluster formation: lock acquisition retries as passed to https://erlang.org/doc/man/global.html#set_lock-3
%%
%% Currently used in classic, k8s, and aws peer discovery backends.