diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-06-21 11:28:32 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-06-21 11:28:32 +0100 |
commit | 85953f05729171ae2a6a3285ca0bb63e353d6654 (patch) | |
tree | f8290259549c6670a638ce79de1bd3cf27bec8dc | |
parent | 0c3f3e71f9d41361f8afcd903c54db18a5d8385e (diff) | |
download | rabbitmq-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.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 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), |