Hi,<div>I have a two node cluster (RMQ 2.8.2 Erlang R14B03) and testing HA for production release. Both nodes configured as disc in the cluster. I have several mirrored queues. All queues are durable and auto delete off. Messages are posted with delivery_mode 2 (persistent). I publish some messages (less than 100). I see all my messages in the queues via the management GUI.</div>
<div><br></div><div>I run rabbitmqctl stop_app on node1. The /var/lib/rabbitmq/mnesia/rabbit@rmq1-test/msg_store_persistent before stop_app is:</div><div>-rw-r--r-- 1 rabbitmq rabbitmq 472724 Jul 20 15:09 0.rdq</div><div>
<br></div><div>After the stop_app:</div><div><div>-rw-r--r-- 1 rabbitmq rabbitmq 472724 Jul 20 15:09 0.rdq</div><div>-rw-r--r-- 1 rabbitmq rabbitmq 1664 Jul 20 15:15 clean.dot</div><div>-rw-r--r-- 1 rabbitmq rabbitmq 474 Jul 20 15:15 file_summary.ets</div>
<div>-rw-r--r-- 1 rabbitmq rabbitmq 48953 Jul 20 15:15 msg_store_index.ets</div></div><div><br></div><div>Then I run rabbitmqctl start_app (without publishing any message) and msg_store_persistent is cleared. </div><div>
<br></div><div>-rw-r--r-- 1 rabbitmq rabbitmq 0 Jul 20 15:16 0.rdq</div><div><br></div><div>After I do app_stop&app_start on node1 all my queues become unsynchronised (without publishing any new msgs). The management interfaces says all msgs are only on node2 only. </div>
<div>If I go through the same sequence of app_stop&app_start on node2, then all msgs are lost!</div><div><br></div><div>Note, I get the same result if use /etc/init.d/rabbitmq-server start/stop.</div><div><br></div><div>
Could someone let me know what might be wrong with my configuration or what I am doing wrong?
</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div>