File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,3 +74,5 @@ rabbitmq_pid_file: "/var/lib/rabbitmq/mnesia/rabbitmq.pid"
74
74
rabbitmq_server_additional_erl_args : " "
75
75
# Dict of TLS options for RabbitMQ. Keys will be prefixed with 'ssl_options.'.
76
76
rabbitmq_tls_options : {}
77
+ # To avoid split-brain
78
+ rabbitmq_cluster_partition_handling : " pause_minority"
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ listeners.ssl.1 = {{ api_interface_address }}:{{ role_rabbitmq_port }}
6
6
{% else %}
7
7
listeners.tcp.1 = {{ api_interface_address }}:{{ role_rabbitmq_port }}
8
8
{% endif %}
9
- {# NOTE: to avoid split-brain #}
10
- cluster_partition_handling = pause_minority
9
+ cluster_partition_handling = {{ rabbitmq_cluster_partition_handling }}
11
10
12
11
management.listener.ip = {{ api_interface_address }}
13
12
management.listener.port = {{ role_rabbitmq_management_port }}
You can’t perform that action at this time.
0 commit comments