diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-08-10 11:39:03 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-08-10 11:39:03 +0100 |
commit | a6f43f5789dece77eb71ccfec486991a2246c710 (patch) | |
tree | 4552a44360eef96c33d52971123753f7d97c2cc4 | |
parent | c53f7a8969c6981f65379dcaae9340ecf0c276c6 (diff) | |
download | rabbitmq-server-a6f43f5789dece77eb71ccfec486991a2246c710.tar.gz |
drop mirror_nodes info item
-rw-r--r-- | docs/rabbitmqctl.1.xml | 4 | ||||
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml index 74041969..0c48129f 100644 --- a/docs/rabbitmqctl.1.xml +++ b/docs/rabbitmqctl.1.xml @@ -861,10 +861,6 @@ queue, including stack, heap and internal structures.</para></listitem> </varlistentry> <varlistentry> - <term>mirror_nodes</term> - <listitem><para>If the queue is mirrored, this provides the names of the nodes upon which mirrors will be present should those nodes be part of the current cluster (i.e. it may contain node names that are not currently part of the cluster).</para></listitem> - </varlistentry> - <varlistentry> <term>slave_pids</term> <listitem><para>If the queue is mirrored, this gives the IDs of the current slaves.</para></listitem> </varlistentry> diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index c537671e..e105b621 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -84,7 +84,6 @@ auto_delete, arguments, owner_pid, - mirror_nodes, slave_pids, synchronised_slave_pids ]). @@ -771,12 +770,6 @@ i(consumers, State) -> i(memory, _) -> {memory, M} = process_info(self(), memory), M; -i(mirror_nodes, #q{q = #amqqueue{name = Name}}) -> - {ok, #amqqueue{mirror_nodes = MNodes}} = rabbit_amqqueue:lookup(Name), - case MNodes of - undefined -> ''; - _ -> MNodes - end; i(slave_pids, #q{q = #amqqueue{name = Name}}) -> {ok, #amqqueue{mirror_nodes = MNodes, slave_pids = SPids}} = rabbit_amqqueue:lookup(Name), |