diff options
-rw-r--r-- | docs/rabbitmqctl.1.xml | 2 | ||||
-rw-r--r-- | src/rabbit_amqqueue.erl | 3 |
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. |