File: rabbit_transient_quorum-fc3c3f88ead90034.yaml

package info (click to toggle)
python-oslo.messaging 16.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,584 kB
  • sloc: python: 12,035; sh: 62; makefile: 24
file content (31 lines) | stat: -rw-r--r-- 1,505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
features:
  - |
    Add an option to enable transient queues to use quorum.

    Transient queues in OpenStack are not so transient, they live the whole
    process lifetime (e.g. until you restart a service, like nova-compute).
    Transient here means they belong to a specific process, compared to
    regular queues which may be used by more processes.
    Usually, transients queues are the "fanout" and "reply" queues.

    By default, without any rabbitmq policy tuning, they are not durable
    neither highly available.

    By enabling quorum for transients, oslo.messaging will declare quorum
    queues instead of classic on rabbitmq. As a result, those queues will
    automatically become HA and durable.
    Note that this may have an impact on your cluster, as rabbit will need
    more cpu, ram and network bandwith to manage the queues. This was tested
    at pretty large scale (2k hypervisors) with a cluster of 5 nodes.

    Also note that the current rabbitmq implementation rely on a fixed number
    of "erlang atom" (5M by default), and one atom is consumed each time a
    quorum queue is created with a different name. If your deployment is doing
    a lot of queue deletion/creation, you may consume all your atoms quicker.

    When enabling quorum for transients, you may also want to update your
    rabbitmq policies accordingly (e.g. make sure they apply on quorum).

    This option will stay disabled by default for now but may become the
    default in the future.