Switch classic queues to version 2
Usage of version 2 of classic queues is highly advised, since RabbitMQ 3.13 is going to remove support of version 1 [1] [1] https://blog.rabbitmq.com/posts/2023/05/rabbitmq-3.12-performance-improvements/#classic-queues-massively-improved-classic-queues-v2-cqv2 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/895804 Change-Id: I83cd385e3ec50d6bf66a34609be147a398a7940e
This commit is contained in:
committed by
Dmitriy Rabotyagov
parent
036e4ae241
commit
285c8a04ad
@@ -30,6 +30,11 @@ rabbitmq_policies:
|
|||||||
priority: 0
|
priority: 0
|
||||||
tags: "ha-mode=all"
|
tags: "ha-mode=all"
|
||||||
state: "{{ (oslomsg_rabbit_quorum_queues | default(True)) | ternary('absent', 'present') }}"
|
state: "{{ (oslomsg_rabbit_quorum_queues | default(True)) | ternary('absent', 'present') }}"
|
||||||
|
- name: CQv2
|
||||||
|
pattern: '.*'
|
||||||
|
priority: 0
|
||||||
|
tags: "x-queue-version=2"
|
||||||
|
state: "{{ (oslomsg_rabbit_quorum_queues | default(True)) | ternary('absent', 'present') }}"
|
||||||
|
|
||||||
## Galera options
|
## Galera options
|
||||||
galera_client_package_state: "{{ package_state }}"
|
galera_client_package_state: "{{ package_state }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user