kolla-ansible/releasenotes/notes/rabbitmq-ha-flag-to-change-replication-factor-321c2f9e08e7d179.yaml
Matt Crees 2af2b16dbc Add flag to change RabbitMQ ha-mode definition
Adds the flag `rabbitmq_ha_replica_count` to change how many different
nodes a queue should be mirrored across. If the value is not set, then
it defaults to "ha-mode":"all". This value is unset by default to avoid
any unexpected changes to the RabbitMQ definitions.json file, as that
would trigger an unexpected restart of RabbitMQ during the next deploy.

Change-Id: Iee98cd937197a73a3b04aa8501fa325e8ecfff24
(cherry picked from commit e13072a98df3727693ead107cd54d784c4e9c1cd)
2023-03-23 09:20:32 +00:00

10 lines
408 B
YAML

---
features:
- |
The config option `rabbitmq_ha_replica_count` is added, to allow for
changing the replication factor of mirrored queues in RabbitMQ. While the
flag is unset, the queues are mirrored across all nodes using
"ha-mode":"all". Note that this only has an effect if the flag
` om_enable_rabbitmq_high_availability` is set to `True`, as otherwise
queues are not mirrored.