[rabbitmq-discuss] HA behavior during a network split
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss