summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-06-21 11:28:32 +0100
committerSimon MacMullen <simon@rabbitmq.com>2013-06-21 11:28:32 +0100
commit85953f05729171ae2a6a3285ca0bb63e353d6654 (patch)
treef8290259549c6670a638ce79de1bd3cf27bec8dc
parent0c3f3e71f9d41361f8afcd903c54db18a5d8385e (diff)
downloadrabbitmq-server-bug25638.tar.gz
Add a TODO for if we are ever unbusy enough to look at removing this code.bug25638
-rw-r--r--src/rabbit_mirror_queue_misc.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index 5607bfa9..cb91b650 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -217,6 +217,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),