[rabbitmq-discuss] 3.0.4 - Losing messages in a HA cluster
emile at rabbitmq.com
Fri Apr 26 09:44:33 BST 2013
On 25/04/13 21:09, Jason McIntosh wrote:
> I have 2 nodes in an rabbit cluster, one disc, one ram node. I'm seeing
> messages get lost
The explanation can be found here:
"should there be no slave that is synchronised with the master,
messages that only the master held will be lost."
Messages can get lost if you recycle nodes in the cluster faster than it
takes for the queue contents to be replaced entirely with new messages.
The solution is to wait for slaves to become synchronised before
restarting each node.
The next version of RabbitMQ will feature manual eager synchronisation
which will allow slaves to catch up on old messages held only on the
master node. You can obtain this feature now by installing a nightly
build of the broker, or wait for the next release.
More information about the rabbitmq-discuss