diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-12-06 16:52:13 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-12-06 16:52:13 +0000 |
commit | 8f088d8fe0403274b417bf7baad16de317ac23bb (patch) | |
tree | 6719bec734b8ba01c1fb4f7a30abbdb124f23e74 /docs | |
parent | bd4dad1150be114357b8c5730c9942b43b425c5b (diff) | |
download | rabbitmq-server-8f088d8fe0403274b417bf7baad16de317ac23bb.tar.gz |
Add rabbitmqctl sync_queue, and make it synchronous. Also fix the fact that we were treating "no queues to sync" as a 'normal' crash of the syncer, which... no.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/rabbitmqctl.1.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml index 34947b66..1583ab98 100644 --- a/docs/rabbitmqctl.1.xml +++ b/docs/rabbitmqctl.1.xml @@ -446,6 +446,37 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><cmdsynopsis><command>sync_queue</command> <arg choice="req">queue</arg></cmdsynopsis> + </term> + <listitem> + <variablelist> + <varlistentry> + <term>queue</term> + <listitem> + <para> + The name of the queue to synchronise. + </para> + </listitem> + </varlistentry> + </variablelist> + <para> + Instructs a mirrored queue with unsynchronised slaves to + synchronise itself. The queue will block while + synchronisation takes place (all publishers to and + consumers from the queue will block). The queue must be + mirrored, must have unsynchronised slaves, and must not + have any pending unacknowledged messages for this + command to succeed. + </para> + <para> + Note that unsynchronised queues from which messages are + being drained will become synchronised eventually. This + command is primarily useful for queues which are not + being drained. + </para> + </listitem> + </varlistentry> </variablelist> </refsect2> |