summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-01-08 15:12:21 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-01-08 15:12:21 +0000
commit01a0f6109f9e8ef9f29379755f7212d86f1508c1 (patch)
treeccdee9000646e3383f5da0023f1a47384e2dfff1
parentf3a2cac4dad2c9e8cdbc3576e8b4e5efa1029471 (diff)
downloadrabbitmq-server-bug25345.tar.gz
Fix docs and specs.bug25345
-rw-r--r--docs/rabbitmqctl.1.xml2
-rw-r--r--src/rabbit_amqqueue.erl3
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 31921769..c7069aed 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1162,7 +1162,7 @@
<varlistentry>
<term>status</term>
<listitem><para>The status of the queue. Normally
- 'running', but may be different if the queue is
+ 'running', but may be "{syncing, MsgCount}" if the queue is
synchronising.</para></listitem>
</varlistentry>
</variablelist>
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl
index 33c2cd62..2477b891 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -176,8 +176,7 @@
-spec(stop_mirroring/1 :: (pid()) -> 'ok').
-spec(sync_mirrors/1 :: (pid()) ->
'ok' | rabbit_types:error('pending_acks' | 'not_mirrored')).
--spec(cancel_sync_mirrors/1 :: (pid()) ->
- 'ok' | rabbit_types:error('not_mirrored')).
+-spec(cancel_sync_mirrors/1 :: (pid()) -> 'ok' | {'ok', 'not_syncing'}).
-endif.