kolla-ansible/releasenotes/notes/add-a-flag-to-handle-rabbitmq-high-availability-44c709318be6cb7b.yaml
Matt Crees 09df6fc1aa Add a flag to handle RabbitMQ high availability
A combination of durable queues and classic queue mirroring can be used
to provide high availability of RabbitMQ. However, these options should
only be used together, otherwise the system will become unstable. Using
the flag ``om_enable_rabbitmq_high_availability`` will either enable
both options at once, or neither of them.

There are some queues that should not be mirrored:
* ``reply`` queues (these have a single consumer and TTL policy)
* ``fanout`` queues (these have a TTL policy)
* ``amq`` queues (these are auto-delete queues, with a single consumer)
An exclusionary pattern is used in the classic mirroring policy. This
pattern is ``^(?!(amq\\.)|(.*_fanout_)|(reply_)).*``

Change-Id: I51c8023b260eb40b2eaa91bd276b46890c215c25
2023-01-13 15:40:08 +00:00

11 lines
497 B
YAML

---
features:
- |
Adds the flag ``om_enable_rabbitmq_high_availablity``. Setting this to
``true`` will enable both durable queues and classic mirrored queues in
RabbitMQ. Note that classic queue mirroring and transient (aka non-durable)
queues are deprecated and subject to removal in RabbitMQ version 4.0 (date
of release unknown).
Changes the pattern used in classic mirroring to exclude some queue types.
This pattern is ``^(?!(amq\\.)|(.*_fanout_)|(reply_)).*``.