Merge "Make rabbitmq cluster_partition_handling configurable"
This commit is contained in:
commit
70ebc91e7e
@ -74,3 +74,5 @@ rabbitmq_pid_file: "/var/lib/rabbitmq/mnesia/rabbitmq.pid"
|
||||
rabbitmq_server_additional_erl_args: ""
|
||||
# Dict of TLS options for RabbitMQ. Keys will be prefixed with 'ssl_options.'.
|
||||
rabbitmq_tls_options: {}
|
||||
# To avoid split-brain
|
||||
rabbitmq_cluster_partition_handling: "pause_minority"
|
||||
|
@ -6,8 +6,7 @@ listeners.ssl.1 = {{ api_interface_address }}:{{ role_rabbitmq_port }}
|
||||
{% else %}
|
||||
listeners.tcp.1 = {{ api_interface_address }}:{{ role_rabbitmq_port }}
|
||||
{% endif %}
|
||||
{# NOTE: to avoid split-brain #}
|
||||
cluster_partition_handling = pause_minority
|
||||
cluster_partition_handling = {{ rabbitmq_cluster_partition_handling }}
|
||||
|
||||
management.listener.ip = {{ api_interface_address }}
|
||||
management.listener.port = {{ role_rabbitmq_management_port }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user