summaryrefslogtreecommitdiff
path: root/src/rabbit_router.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-12-16 18:13:20 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2010-12-16 18:13:20 +0000
commita6781f983a5c23281a94e153901b016e3ac7fdb8 (patch)
tree1c57978eb60dad5bf5865f88f0665216ada0c2c1 /src/rabbit_router.erl
parent7e7eebb1ee7c4911b2250a02373cd8ff6fca3351 (diff)
downloadrabbitmq-server-a6781f983a5c23281a94e153901b016e3ac7fdb8.tar.gz
extra_pids => mirror_pids; Also rip out changes to the registry and just hard code that rabbit_mnesia takes care of gm - the problem being that we need access to the table dfns even when rabbit app is stopped, thus the registry would be down
Diffstat (limited to 'src/rabbit_router.erl')
-rw-r--r--src/rabbit_router.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_router.erl b/src/rabbit_router.erl
index a4ad7fbc..66fc4070 100644
--- a/src/rabbit_router.erl
+++ b/src/rabbit_router.erl
@@ -117,8 +117,8 @@ check_delivery(_ , _ , {_ , Qs}) -> {routed, Qs}.
lookup_qpids(QNames) ->
lists:foldl(fun (QName, QPids) ->
case mnesia:dirty_read({rabbit_queue, QName}) of
- [#amqqueue{pid = QPid, extra_pids = EPids}] ->
- EPids ++ [QPid | QPids];
+ [#amqqueue{pid = QPid, mirror_pids = MPids}] ->
+ MPids ++ [QPid | QPids];
[] ->
QPids
end