diff options
author | Emile Joubert <emile@rabbitmq.com> | 2013-06-21 15:42:33 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2013-06-21 15:42:33 +0100 |
commit | 5312a8e9bf665514fc70b8f97f9762af3d917a07 (patch) | |
tree | f524dfb798384098012fb88c1ba99643e1f3e586 /src/rabbit_mirror_queue_misc.erl | |
parent | 618fe5fb4392ad55d7405ce0d46868c6d4990232 (diff) | |
parent | 240e64eaf4a1f3ff5b190df5abf1008a6ebffa7c (diff) | |
download | rabbitmq-server-5312a8e9bf665514fc70b8f97f9762af3d917a07.tar.gz |
Merged stable into default
Diffstat (limited to 'src/rabbit_mirror_queue_misc.erl')
-rw-r--r-- | src/rabbit_mirror_queue_misc.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl index 529351a2..1b87694f 100644 --- a/src/rabbit_mirror_queue_misc.erl +++ b/src/rabbit_mirror_queue_misc.erl @@ -215,6 +215,8 @@ report_deaths(MirrorPid, IsMaster, QueueName, DeadPids) -> store_updated_slaves(Q = #amqqueue{slave_pids = SPids, sync_slave_pids = SSPids}) -> + %% TODO now that we clear sync_slave_pids in rabbit_durable_queue, + %% do we still need this? SSPids1 = [SSPid || SSPid <- SSPids, lists:member(SSPid, SPids)], Q1 = Q#amqqueue{sync_slave_pids = SSPids1}, ok = rabbit_amqqueue:store_queue(Q1), |