summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-08-10 11:39:03 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-08-10 11:39:03 +0100
commit4837a81deacf1ce23358384ebbd900e7d6b6ed46 (patch)
tree4552a44360eef96c33d52971123753f7d97c2cc4
parent103dc69ffb38c77842cf1d8171a2b0edb40dbd37 (diff)
downloadrabbitmq-server-git-4837a81deacf1ce23358384ebbd900e7d6b6ed46.tar.gz
drop mirror_nodes info item
-rw-r--r--docs/rabbitmqctl.1.xml4
-rw-r--r--src/rabbit_amqqueue_process.erl7
2 files changed, 0 insertions, 11 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 74041969c7..0c48129f9a 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 c537671eb0..e105b621d8 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),