[rabbitmq-discuss] HA behavior during a network split

Elias Levy fearsome.lucidity at gmail.com
Wed Jul 11 00:11:12 BST 2012

I am curious as to what the behavior of HA queues during a network split

The documentation states that when a mater fails a slave will be promoted
to master, but its silent under what conditions a slave will consider a
master to have failed.  Is there some timeout after which slaves will
consider a master to have failed?  If so, what is the time value?

Assuming that such timeout exists, if there is a network split you may end
up with two clusters, each one which now has a master.  Each may also have
publisher and consumers that continue to work happily against the split

What happens when the network split is repaired?  Will the clusters join?
 If so, what will happen to the HA queue?  Will one of the existing master
be demoted to slave?  If so, what happens to its queue of messages that
originated within its split cluster?  Are they lost?

I suppose a lot of this depends on the underlaying Mnesia DB.
 I realize RMQ is CA system out the CAP theorem, but its not at all clear
what occurs in the face of a network partition.

Elias Levy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120710/1bd3a66a/attachment.htm>

More information about the rabbitmq-discuss mailing list