Skip to content
Snippets Groups Projects
Commit 4b27d19b authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Set RabbitMQ ha-promote-on-shutdown=always"

parents b30c7bc8 a87810db
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ rabbitmq_cluster_partition_handling: "pause_minority" ...@@ -88,7 +88,7 @@ rabbitmq_cluster_partition_handling: "pause_minority"
# The rabbitmq default for ha queues is "when-synced" # The rabbitmq default for ha queues is "when-synced"
# More details see: # More details see:
# https://www.rabbitmq.com/ha.html#promoting-unsynchronised-mirrors # https://www.rabbitmq.com/ha.html#promoting-unsynchronised-mirrors
rabbitmq_ha_promote_on_shutdown: rabbitmq_ha_promote_on_shutdown: "always"
# The number of rabbitmq replicas should follow this advice: # The number of rabbitmq replicas should follow this advice:
# https://www.rabbitmq.com/ha.html#replication-factor # https://www.rabbitmq.com/ha.html#replication-factor
# This means, if you have three rabbit nodes, we request two # This means, if you have three rabbit nodes, we request two
......
---
upgrade:
- |
The RabbitMQ variable `rabbitmq-ha-promote-on-shutdown` now defaults to
`"always"`. This only has an effect if
`om_enable_rabbitmq_high_availability` is set to `True`. When
`ha-promote-on-shutdown` is set to `always`, queue mirrors are promted on
shutdown even if they aren't fully synced. This means that value
availability over the risk of losing some messages. Note that the contents
of the RabbitMQ definitions.json are now changed, meaning RabbitMQ
containers will be restarted on next deploy/upgrade.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment