[rabbitmq-discuss] rabbitmqctl stop_app start_app loses all messages

Matthias Radestock matthias at rabbitmq.com
Mon Jul 23 19:26:46 BST 2012


Farshad,

On 23/07/12 19:20, Farshad Meshkinpour wrote:
> Thanks for quick response. My scenarios is a bit different.  Here is
> what I have tried which causes that all messages to be deleted.
>
> 1) start two nodes (A&B)
> 2) declare a durable mirrored queue, mirrored on all nodes
> 3) publish messages that get routed to the queue
> *-- messages are on both A & B*
> 4) shut down node A
> *5) startup node A*
> *    -- messages are deleted on A*
> *    -- messages are unsynchronized on B
> *6) shut down node B
> 7) start up node B
> *-- messages are deleted  on B*

That's precisely the situation Emile talked about, which is explained in 
http://www.rabbitmq.com/ha.html#unsynchronised-slaves.

Suggestions on how we can improve the docs to make that clearer are welcome.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list