Skip to content

Commit d94d6ab

Browse files
committed
update
1 parent 8a701c0 commit d94d6ab

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

services/rabbit/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ Make sure all nodes have joined the cluster before using it. Otherwise, number o
44

55
## Updating a cluster
66

7-
When `docker stack deploy` is executed against a running cluster and all (docker services) rabbit nodes restart at the same time, the cluster breaks (read https://groups.google.com/g/rabbitmq-users/c/owvanX2iSqA/m/ZAyRDhRfCQAJ) and may only recover itself after 5 minutes timeous (not sure). Restarting nodes manually (docker service update --force) fixes cluster.
7+
Perform update one node at a time. Never update all nodes at the same time (this may break cluster)! Follow instructions from official documentation https://www.rabbitmq.com/docs/upgrade#rolling-upgrade.
88

9+
## Graceful shutdown
10+
11+
Normally when you shut down a RabbitMQ cluster altogether, the first node you restart should be the last one to go down, since it may have seen things happen that other nodes did not.
12+
13+
If all Nodes were shutdown simultaneously, use force_boot (https://www.rabbitmq.com/docs/man/rabbitmqctl.8#force_boot)
14+
15+
#### Community discussions
916
mnesia errors after all rabbit nodes (docker services) restart:
1017
* https://stackoverflow.com/questions/60407082/rabbit-mq-error-while-waiting-for-mnesia-tables
1118

0 commit comments

Comments
 (0)