diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-12-16 18:13:20 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-12-16 18:13:20 +0000 |
commit | a6781f983a5c23281a94e153901b016e3ac7fdb8 (patch) | |
tree | 1c57978eb60dad5bf5865f88f0665216ada0c2c1 /src/rabbit_router.erl | |
parent | 7e7eebb1ee7c4911b2250a02373cd8ff6fca3351 (diff) | |
download | rabbitmq-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.erl | 4 |
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 |