Back to all use cases
RabbitMQInsurance

The feature 4.0 took away

An insurer's claims platform runs RabbitMQ 3.13 with ha-mode mirrored queues, and 4.0 removed that feature, so the cluster cannot upgrade in place. OSSeva Patch holds 3.13 patched while the queues move to quorum queues.

Challenge

RabbitMQ 4.0 removed classic queue mirroring. A classic queue on 4.x is a single-node queue, and the ha-mode policies that used to replicate it are ignored. A cluster that relies on mirroring for availability would lose its replication on upgrade.

There is no switch that converts a queue in place. The queue type is fixed when a queue is declared, so every route comes down to declaring a new quorum queue and moving the traffic onto it. RabbitMQ documents two ways to do that. Move one virtual host at a time to a new vhost whose default queue type is quorum, or drain and redeclare the queues in the same vhost. Which one fits depends on how the applications declare their queues.

The semantics differ, which is why this is an application migration and not a broker setting. Quorum queues are durable only, do not support exclusive queues or global QoS, and offer two priority levels on 4.x where mirrored classic queues allowed many. They also apply a delivery limit to poison messages, where a mirrored classic queue redelivers them forever.

Meanwhile 3.13 is out of community support. Community support for 3.13 ended on 30 September 2024, and the last public release was 3.13.7. Later 3.13 fixes went only into the vendor's commercial releases. And RabbitMQ requires an upgrade to 3.13 before 4.0, with all stable feature flags enabled, so 3.13 is exactly where the cluster has to wait.

Environment

A RabbitMQ 3.13 cluster in a regulated insurance business, carrying claims, policy-event and document-processing queues for several applications. Availability comes from ha-mode policies on classic queues, and the policies were set years ago by people who have since left.

Some applications declare their own queues in code and others rely on definitions imported into the broker, so nobody has a full list of which queues are mirrored and which clients depend on behavior that quorum queues do not have.

Options

Stay on unpatched 3.13 until the migration is done. It costs nothing up front, but the cluster collects advisories with no public fix for as long as the migration takes.

Migrate the queues first, then upgrade. This is the order RabbitMQ requires. It needs an audit of every mirrored queue, application changes for the semantic differences, and a cutover per vhost or per queue, all done while the cluster stays out of support.

Buy the vendor's commercial releases. They carry later 3.13 fixes, but under per-core licensing and with no change to the migration work.

Hold 3.13 patched and migrate on your own schedule. OSSeva Patch removes the clock from the queue migration, so the work is done when the tests pass and not when the next advisory arrives.

Approach

OSSeva Patch ships signed, patched builds of RabbitMQ 3.13 and of the Erlang/OTP runtime under it, so the cluster is not carrying open advisories while the queues move. Builds are delivered from your own repository, and the SBOM and VEX statements show an auditor what is fixed.

OSSeva Assure plans the migration. It starts with an inventory of the mirrored queues, then picks the route per application: a new vhost with quorum as the default queue type, or drain and redeclare. It lists the client changes to test first, including prefetch settings in place of global QoS, publisher confirms and the poison-message delivery limit, and it plans the 4.x destination and the feature flag checks before the final upgrade. Assure includes version upgrade planning and an annual configuration and architecture audit.

OSSeva Operate carries the work out with your team, with 24/7 monitoring, runbooks for the cutover and a named senior engineer on the account.

What this delivers

A 3.13 cluster that stays patched through the migration, a complete list of the mirrored queues with the route chosen for each, and a tested move to quorum queues that leaves the cluster ready for 4.x. The engagement delivers the inventory, the client test plan and the cutover runbooks. OSSeva RabbitMQ support is priced per application cluster, not per core. Book a 15-minute discovery call for a quote.

Go deeper

Questions

Frequently asked questions

Book a 15-minute call

Can I upgrade RabbitMQ 3.13 to 4.x with mirrored queues?

Not safely. Mirroring was removed in 4.0, so a classic queue becomes single-node and the ha-mode policy is ignored. Move those queues to quorum queues first.

Can a mirrored queue be converted to a quorum queue in place?

No. The queue type is fixed at declaration. You declare a new quorum queue and move traffic to it, either vhost by vhost or by draining and redeclaring.

What breaks when moving to quorum queues?

Exclusive queues and global QoS are not supported, priorities drop to two levels on 4.x, queues are durable only, and poison messages hit a delivery limit instead of being redelivered forever.

Does OSSeva patch RabbitMQ 3.13?

Yes. OSSeva ships patched, signed builds for 3.13 and the Erlang/OTP runtime beneath it, delivered through your own repositories.

See every EOL & CVE-patching use case

All use cases
Book a call