diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_mirror_queue_misc.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl index e6559841dd..e21dc282c1 100644 --- a/src/rabbit_mirror_queue_misc.erl +++ b/src/rabbit_mirror_queue_misc.erl @@ -98,9 +98,10 @@ remove_from_queue(QueueName, Self, LiveGMPids) -> slave_pids = SPids1, gm_pids = GMPids1}, store_updated_slaves(Q1), - %% If we add and remove nodes at the same time - %% it's possible we need to sync after removing - %% the master. Let's check. + %% If we add and remove nodes at the same time we + %% might tell the old master we need to sync and + %% then shut it down. So let's check if the new + %% master needs to sync. maybe_auto_sync(Q1), {ok, QPid1, [QPid | SPids] -- Alive}; _ -> |
