diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-09-05 10:39:46 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-09-05 10:39:46 +0100 |
commit | 7d58dbfd96c6a5b87e7a5a3520106dacbf365254 (patch) | |
tree | 5a1620dfe9c86acf96a98d7850970f9158204e99 /src/rabbit_mirror_queue_slave.erl | |
parent | 6578389b1df1937fb08bb7a1621b50f09cb7416e (diff) | |
download | rabbitmq-server-7d58dbfd96c6a5b87e7a5a3520106dacbf365254.tar.gz |
No we don't. The point is that if a mirror is dropping out of the queue, does it need to explicitly leave the GM group? The answer is no: the master is linked to the coordinator is linked to the GM / the slave is linked to the GM.
Diffstat (limited to 'src/rabbit_mirror_queue_slave.erl')
-rw-r--r-- | src/rabbit_mirror_queue_slave.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl index 5ed5f063..f245f913 100644 --- a/src/rabbit_mirror_queue_slave.erl +++ b/src/rabbit_mirror_queue_slave.erl @@ -297,7 +297,6 @@ terminate({shutdown, dropped} = R, #state { gm = GM, backing_queue = BQ, backing_queue_state = BQS }) -> %% See rabbit_mirror_queue_master:terminate/2 - ok = gm:leave(GM), %% TODO presumably we need this? BQ:delete_and_terminate(R, BQS); terminate(Reason, #state { q = Q, gm = GM, |