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 | e309e92599e5b42b1bfcc414167d8f55523b0f4f (patch) | |
| tree | bb71355b53ed7b54298c320e39d31f804d785585 /src | |
| parent | 81a46584d294ae6c1bbb834939d61f3c266c300d (diff) | |
| download | rabbitmq-server-git-e309e92599e5b42b1bfcc414167d8f55523b0f4f.tar.gz | |
Improve comment.
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}; _ -> |
