[rabbitmq-discuss] Cluster failover behaviour

Matthias Radestock matthias at lshift.net
Tue Dec 15 00:23:00 GMT 2009


Robert,

Robert Borkowski wrote:
> So what is going on in my test case?
> 
> I restart rabbitmq and I suddenly have a bunch of old messages in the 
> queue. Surely that's not expected

Things actually went wrong way before then, namely when the client 
created a queue with the same name on mq2. Rabbit is a bit schizophrenic 
as to whether it considers that queue to be the same queue or a 
different queue.

That is something we've known about for a while. See, for example, Jason 
William's post and my follow-up at 
http://old.nabble.com/Clustering-Question-td23888965.html#a23932367

What I didn't realise then is that the acknowledgements for the messages 
from the queue on the first node will go astray, which is why those 
message pop up again when that node is restarted. That clearly is 
perplexing, so I have raised the priority of this bug in our issue tracker.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list