RabbitMQ version: 3.6.6
Cluster nodes: A, B, C
Mirror queue: ha.test (master on A, slave on B)
I need to restart RabbitMQ on node A
What now I do: just call service rabbitmq-server restart.
On my centos it implemented as next commands:
rabbitmqctl stop
rabbitmqctl start
So, can you help me with understanding this "rabbitmqctl stop" procedure?
I need next behaviour, for example for A node:
1. node A send "close" to all connects and wait all clients closed connections
2. node A doesn`t accept new client connections
3. node A ensure than queue ha.test (which master on current node) have synchronized slaves, if no wait for sync
4. and only then stops
Is my expected behaviour the same as real rabbitmq implementation?