[rabbitmq-discuss] rabbitmqctl stop_app start_app loses all messages

Matthias Radestock matthias at rabbitmq.com
Mon Jul 23 10:50:32 BST 2012


On 23/07/12 10:26, Emile Joubert wrote:
> On 21/07/12 02:26, Farshad Meshkinpour wrote:
>> Could someone let me know what might be wrong with my configuration or
>> what I am doing wrong?
> This is expected behaviour. When slaves join they are cleared. Queue
> contents is not eagerly synchronised, so slaves will only become
> synchronised when the contents of the master queue is completely
> replaced with new messages. If you restart each node in the cluster too
> quickly for slaves to synchronise then messages will be lost.

...as explained at 
http://www.rabbitmq.com/ha.html#unsynchronised-slaves. I am assuming 
you've read the HA docs; is the explanation on that page unclear?



More information about the rabbitmq-discuss mailing list