summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Corbacho <diana@rabbitmq.com>2016-09-14 12:44:35 +0100
committerDiana Corbacho <diana@rabbitmq.com>2016-09-14 12:44:35 +0100
commitbb827dd81e5912a307bee0b40acaf8e343ad383d (patch)
tree6bf06d772c5db59faa4da7f671b3b6f1ef1ee0f2
parentc86b6a0a1bfaf43f114141730dd8215267bd96e8 (diff)
downloadrabbitmq-server-git-bb827dd81e5912a307bee0b40acaf8e343ad383d.tar.gz
Stop master with reason shutdown on duplicated masters
* Avoid removing the queue record
-rw-r--r--src/rabbit_mirror_queue_coordinator.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_coordinator.erl b/src/rabbit_mirror_queue_coordinator.erl
index 017d1d1fa2..fe1168f120 100644
--- a/src/rabbit_mirror_queue_coordinator.erl
+++ b/src/rabbit_mirror_queue_coordinator.erl
@@ -363,7 +363,7 @@ handle_cast({gm_deaths, DeadGMPids},
%% NOTE: Reported deaths here, could be inconsistant.
rabbit_mirror_queue_misc:report_deaths(MPid, false, QueueName,
DeadPids),
- {stop, normal, State};
+ {stop, shutdown, State};
{error, not_found} ->
{stop, normal, State}
end;