[rabbitmq-discuss] active/active message persistence problem
Jeffrey Chen
cpthk at hotmail.com
Tue Nov 22 01:14:51 GMT 2011
Hi RabbitMQ community:
I am encounter this problem about message persistence. Here is my case, I have 2 server nodes with active/active setup, both are persisted to DISK. The queue declarations are defined as durable.
This is what I got when doing:
# rabbitmqctl cluster_status
Cluster status of node 'rabbit at aaron-vm177' ...
[{nodes,[{disc,['rabbit at vm1','rabbit at vm2']}]},
{running_nodes,['rabbit at vm1','rabbit at vm2']}]
...done.
# rabbitmqctl list_queues
Listing queues ...
test 10
...done.
My vm1 is currently master node. When I stop RabbitMQ service in vm1, and start it back up. I check my messages in the queue, the messages are still there. This time when I stop RabbitMQ service in vm2. The messages will be gone. It seems like when I restart both server nodes, the data will be lost. Does anyone know the reason? Is there any way to work around this?
My goal is that any server nodes down, and when I bring it back up, no data will be lost.
Jeffrey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111121/1a3ee86a/attachment.htm>
More information about the rabbitmq-discuss
mailing list