RabbitMQ - how to reload a node from a cluster without the need to synchronize queues?

I have a RabbitMQ cluster with two nodes. I set up a HA policy to synchronize all queues across all nodes. Suppose I have 2 nodes: A and B. A is the master, B has all the queues synchronized with A.

Now I want to restart the server using node B (to update the server, OS, etc.). No matter what I do, always after a reboot, a complete synchronization process is needed to synchronize these queues between A and B. Even if I stop all consumers and manufacturers before the restart process. It hurts if there are a lot of messages in the queues.

Question: Is there a way to do a “clean shutdown" to disable the queue synchronization process after a reboot?

+4
source share

Source: https://habr.com/ru/post/1606747/


All Articles