Skip to content

Commit a26f95d

Browse files
committed
rabbitmq-run.mk: No need to {stop,start}_app when clustering
[Why] `rabbitmqctl join_cluster` now takes care of stopping and restarting whatever needs to be dealt with.
1 parent b15eb0f commit a26f95d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

deps/rabbit_common/mk/rabbitmq-run.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,8 @@ start-brokers start-cluster: $(DIST_TARGET)
392392
for n in $$(seq $(NODES)); do \
393393
nodename="rabbit-$$n@$(HOSTNAME)"; \
394394
if test '$@' = 'start-cluster' && test "$$nodename1"; then \
395-
ERL_LIBS="$(DIST_ERL_LIBS)" \
396-
$(RABBITMQCTL) -n "$$nodename" stop_app; \
397395
ERL_LIBS="$(DIST_ERL_LIBS)" \
398396
$(RABBITMQCTL) -n "$$nodename" join_cluster "$$nodename1"; \
399-
ERL_LIBS="$(DIST_ERL_LIBS)" \
400-
$(RABBITMQCTL) -n "$$nodename" start_app; \
401397
else \
402398
nodename1=$$nodename; \
403399
fi; \

0 commit comments

Comments
 (0)