add option to disable registration of node during cluster formation
This commit is contained in:
parent
8355bc691e
commit
481ffb2d6c
|
@ -1353,13 +1353,6 @@ end}.
|
||||||
{datatype, {enum, [disc, disk, ram]}}
|
{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",
|
{translation, "rabbit.cluster_formation.node_type",
|
||||||
fun(Conf) ->
|
fun(Conf) ->
|
||||||
%% if peer discovery backend isn't configured, don't generate
|
%% if peer discovery backend isn't configured, don't generate
|
||||||
|
@ -1377,6 +1370,13 @@ fun(Conf) ->
|
||||||
end
|
end
|
||||||
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
|
%% 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.
|
%% Currently used in classic, k8s, and aws peer discovery backends.
|
||||||
|
|
Loading…
Reference in New Issue