[rabbitmq-discuss] Cluster problem after network bouncing

Leonardo N. S. Pereira lndspereira-rabbit at yahoo.com
Tue May 13 18:04:40 BST 2014



Hi Simon, thanks very much for your answer.
What is the recommended set up for HA running in AWS?
Is there a way to workaround the partition problem? 



> On May 12, 2014, at 6:27 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> > 
> > On 09/05/2014 20:18, Leonardo N. S. Pereira wrote:
> > I'm bouncing the network connection between two nodes, for instance C
> > and B, in the way that:
> > - A: can reach C and B
> > - C: can
 reach A
> > - B can reach A
> > In this case, the cluster get stuck and only recovers when all nodes are
> > restarted.
> > Is it an expected behavior?
> 
> We don't deal very well with partial partitions in general, and in this specific case it's unclear what pause_minority even *could* do. In this partial partition all >three nodes think that they are in the majority - so pause_minority mode has nothing to do. So I'm afraid this is expected, yes.

Cheers, Simon



 
Leonardo Nogueira de Sá Pereira
Tel.: +55 19 3307-5589
Cel.: +55 19
 9122-5943
Skype: leonardo_pereira_77

On Friday, May 9, 2014 4:18 PM, Leonardo N. S. Pereira <lndspereira-rabbit at yahoo.com> wrote:
 
Hi all.
I have a three nodes in a
 cluster deployed on different AWS AZs: A, B and C.
The queues are fully mirrored among nodes, the queues are persistent and cluster partition handler is configured to pause-minority. The RabbitMq version I'm using is 3.3.1
The queues policies are set as:  {"ha-mode":"all","ha-sync-mode":"automatic"} .

I'm bouncing the network connection between two nodes, for instance C and B, in the way that:
- A: can reach C and B
- C: can reach A
- B can reach A
In this case, the cluster get stuck and only recovers when all nodes are restarted.
Is it an expected behavior? 

And if I kill one node, instead of only bounce the connection as before, the cluster is
 still working.
What I think is expected

Thanks in advance for your time and help

Best Regards,
Leo


 
Leonardo Nogueira de Sá Pereira
Tel.: +55 19 3307-5589
Cel.: +55 19 9122-5943
Skype: leonardo_pereira_77
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140513/6b4576ef/attachment.html>


More information about the rabbitmq-discuss mailing list