Skip to content

Commit 347679d

Browse files
frederikboschmichaelklishin
authored andcommitted
add option to disable registration of node during cluster formation
(cherry picked from commit 481ffb2)
1 parent f622596 commit 347679d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

deps/rabbit/priv/schema/rabbit.schema

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,13 +1353,6 @@ end}.
13531353
{datatype, {enum, [disc, disk, ram]}}
13541354
]}.
13551355

1356-
%% Register node during cluster formation.
1357-
%%
1358-
1359-
{mapping, "cluster_formation.registration", "rabbit.cluster_formation.register", [
1360-
{datatype, {enum, [true, false]}}
1361-
]}.
1362-
13631356
{translation, "rabbit.cluster_formation.node_type",
13641357
fun(Conf) ->
13651358
%% if peer discovery backend isn't configured, don't generate
@@ -1377,6 +1370,13 @@ fun(Conf) ->
13771370
end
13781371
end}.
13791372

1373+
%% Register node during cluster formation when backend supports registration.
1374+
%%
1375+
1376+
{mapping, "cluster_formation.registration", "rabbit.cluster_formation.register", [
1377+
{datatype, {enum, [true, false]}}
1378+
]}.
1379+
13801380
%% Cluster formation: lock acquisition retries as passed to https://erlang.org/doc/man/global.html#set_lock-3
13811381
%%
13821382
%% Currently used in classic, k8s, and aws peer discovery backends.

0 commit comments

Comments
 (0)