summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mirror_queue_misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index 5217e27604..ad9dfa0d1b 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -101,7 +101,7 @@ remove_from_queue0(QueueName, DeadGMPids) ->
{_, OldNodes} = actual_queue_nodes(Q1),
{_, NewNodes} = suggested_queue_nodes(Q1),
{ok, QPid1, [QPid | SPids] -- Alive,
- NewNodes -- OldNodes};
+ (NewNodes -- OldNodes) -- DeadNodes};
_ ->
%% Master has changed, and we're not it,
%% so leave alone to allow the promoted