Skip to main content
InterviewHubPRO
Section Overview
Q29

Question 29 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

58%
RabbitMQ & AMQP (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Zero-Downtime RabbitMQ Rolling Upgrades with Quorum Queues.

senior LevelSystem DesignRabbitMQMicroservices

In Simple Words: Performing a minor or patch upgrade across a 3-node RabbitMQ cluster without dropping connections:

  1. Upgrade Node 3:
    • Drain connections from Node 3 to Nodes 1 and 2.
    • Run rabbitmq-upgrade drain to migrate quorum queue leaders off Node 3.
    • Stop RabbitMQ, upgrade Erlang/RabbitMQ packages, and start the node.
    • Verify Node 3 rejoins the Raft cluster and catches up on logs.
  2. Repeat sequentially for Node 2, then Node 1.
  3. Run rabbitmq-queues rebalance "all" to redistribute quorum leaders evenly across all three upgraded nodes.