Skip to content

Commit 2a72bfa

Browse files
committed
fixes
1 parent c2bef0c commit 2a72bfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/rabbit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Perform update one node at a time. Never update all nodes at the same time (this
88

99
## Graceful shutdown
1010

11-
Shutdown nodes one by one gracefully. Wait until the nodes is stopped and leaves the cluster. Then remove next node. When starting cluster, start nodes **in the reverse order**! For example, if you shutdown node01, then node02 and lastly node03, first start node03 then node02 and finally node03.
11+
Shutdown nodes one by one gracefully. Wait until the nodes is stopped and leaves the cluster. Then remove next node. When starting cluster, start nodes **in the reverse order**! For example, if you shutdown node01, then node02 and lastly node03, first start node03 then node02 and finally node01.
1212

1313
If all Nodes were shutdown simultaneously, then you will see mnesia tables errors in node's logs. Restarting node solves the issue . Documentation also mentions force_boot CLI command in this case (see https://www.rabbitmq.com/docs/man/rabbitmqctl.8#force_boot)
1414

services/rabbit/docker-compose.node0x.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
# https://www.rabbitmq.com/docs/clustering#restarting-readiness-probes
5252
# we must have a healthcheck that does not require node to be fully booted (i.e. joined a cluster)
5353
# because it creates a deadlock: docker swarm will not route to the node until it is healthy
54-
# node is not healthy until it is part of a cluster (other node can talk to it)
54+
# node is not healthy until it is part of a cluster (other nodes can talk to it)
5555
test: rabbitmq-diagnostics ping
5656
interval: 60s
5757
timeout: 10s

0 commit comments

Comments
 (0)