Hello all!<br>
<br>
I&#39;m using� rabbitMQ 2.6.1&#39;s mirror queue without &#39;x-ha-policy&#39; (yet!), and I just found a weird situation.<br>
<br>
I&#39;m using keepalived to exchange IP address from clients, and my queues are &quot;Durable=True&quot;<br>
<br>
====<br>
[root@qwar1 ~]# rabbitmqctl cluster_status<br>
Cluster status of node rabbit@qwar1 ...<br>
[{nodes,[{disc,[rabbit@qwar2,rabbit@qwar1]}]},<br>
�{running_nodes,[rabbit@qwar2,rabbit@qwar1]}]<br>
...done.<br>
<br>
[root@qwar2 ~]# rabbitmqctl cluster_status<br>
Cluster status of node rabbit@qwar2 ...<br>
[{nodes,[{disc,[rabbit@qwar2,rabbit@qwar1]}]},<br>
�{running_nodes,[rabbit@qwar1,rabbit@qwar2]}]<br>
...done.<br>
====<br>
<br>
All my queues are created on node _qwc1_, how you can see here:<br>
<br>
====<br>
[root@qwar1 ~]# rabbitmqctl report<br>
...<br>
Consumers on encoder:<br>
queue_name����� channel_pid���� consumer_tag��� ack_required<br>
videos� &lt;rabbit@qwar1.3.2926.0&gt; amq.ctag-7FoHaypQdRWWanL5CYjXug==������ true<br>
sender� &lt;rabbit@qwar1.3.26415.0&gt;������� amq.ctag-6YYXJJxU/LsoGFpBTn47FA==������ true<br>
...<br>
<br>
[root@qwar2 ~]# rabbitmqctl report<br>
...<br>
Consumers on encoder:<br>
queue_name����� channel_pid���� consumer_tag��� ack_required<br>
videos� &lt;rabbit@qwar1.3.2926.0&gt; amq.ctag-7FoHaypQdRWWanL5CYjXug==������ true<br>
sender� &lt;rabbit@qwar1.3.26415.0&gt;������� amq.ctag-6YYXJJxU/LsoGFpBTn47FA==������ true<br>
...<br>
====<br>
<br>
If I shutdown the _qwc2_ everything works as well.<br>
<br>
If I shutdown the _qwc1_ the cluster stop to work, and I got this errors messages on log:<br>
<br>
=ERROR REPORT==== 30-Nov-2011::16:34:36 ===<br>
connection &lt;0.734.0&gt;, channel 4 - error:<br>
{amqp_error,not_found,&quot;no queue &#39;videos&#39; in vhost &#39;encoder&#39;&quot;,&#39;queue.declare&#39;}<br>
<br>
=ERROR REPORT==== 30-Nov-2011::16:34:36 ===<br>
connection &lt;0.734.0&gt;, channel 5 - error:<br>
{amqp_error,not_found,&quot;no queue &#39;videos&#39; in vhost &#39;encoder&#39;&quot;,&#39;queue.declare&#39;}<br>
<br>
=ERROR REPORT==== 30-Nov-2011::16:30:26 ===<br>
connection &lt;0.5263.0&gt;, channel 1 - error:<br>
{amqp_error,not_found,&quot;no queue &#39;sender&#39; in vhost &#39;encoder&#39;&quot;,&#39;queue.declare&#39;}<br>
<br>
=ERROR REPORT==== 30-Nov-2011::16:30:27 ===<br>
connection &lt;0.5263.0&gt;, channel 1 - error:<br>
{amqp_error,not_found,&quot;no queue &#39;sender&#39; in vhost &#39;encoder&#39;&quot;,&#39;queue.declare&#39;}<br>
<br>
When the node qwc1 turn back to live, everything works as well.<br>
<br>
If, before the shutdown, I delete the queue &#39;videos&#39; and &#39;sender&#39;, everything works as well.<br>
<br>
Is the behaviour correct? I thought that everything was still working as well even with a crash of one of nodes of cluster :)<br>
<br>
Thanks a lot,<br>
<br>
Tiago Cruz<br>
<br>