diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-11-18 14:37:48 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-11-18 14:37:48 +0000 |
commit | d7023ba41e820b8206b57892a1cbd7ca430f3a52 (patch) | |
tree | bb71355b53ed7b54298c320e39d31f804d785585 | |
parent | 4bdce4d49de9fe81ba27cdda158214d198ce53ae (diff) | |
download | rabbitmq-server-d7023ba41e820b8206b57892a1cbd7ca430f3a52.tar.gz |
Improve comment.
-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 e6559841..e21dc282 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}; _ -> |