[rabbitmq-discuss] Mirror queue recovery questions
Elias Levy
fearsome.lucidity at gmail.com
Tue Sep 6 17:59:26 BST 2011
Hello,
I did not get a response to my questions, so let me try again.
What happens to persisted messages in mirrored queue slaves if they are
restarted and they don't find a queue master?
When using mirrored queued,must we ensure that the last node shutdown that
was participating in a mirrored queue, and thus the one that became master
last, is the one that is restarted first, so that the last master is online
when slaves join the cluster?
Thanks for your time.
---------- Forwarded message ----------
From: Elias Levy <fearsome.lucidity at gmail.com>
Date: Thu, Sep 1, 2011 at 12:16 PM
Subject: Re: [rabbitmq-discuss] RabbitMQ 2.6.0 is released
To: rabbitmq-discuss at lists.rabbitmq.com
Congratulations on releasing 2.6.0. We've been looking forward to mirrored
queues, and the federation plugin will be put to use once we deploy to more
than one Amazon region.
I've gone through he mirrored queue documentation and its largely clear.
The only question I was left with is what happens to the persisted messages
in a durable mirrored queue of a slave that is restarting and does not find
a master. The docs say that if the master exists the slave will clear is
queue before joining, as its queue may be stale compared to that of the
master, but its silent on what happens if the master does not exists.
This also begs the question as to whether we must now be careful about the
order that nodes must be restarted after a full cluster shutdown. Must we
ensure that the last node shutdown that was participating in a mirrored
queue, and thus the one that became master last, is the one that is
restarted first, so that the last master is online when slaves join the
cluster?
Elias Levy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110906/242f7876/attachment.htm>
More information about the rabbitmq-discuss
mailing list