<div dir="ltr">Hello,<div><br></div><div>We recently discovered that our 2.8.6 cluster is occasionally partitioning itself. We're trying to come up with a method to detect this so we can respond in a more timely manner.</div>
<div><br></div><div><a href="http://www.rabbitmq.com/partitions.html">http://www.rabbitmq.com/partitions.html</a> says that doing a rabbitmqctl cluster_status should show something like:</div><div><br></div><div><pre style="color:rgb(85,85,85);font-size:13px;line-height:18px">
# rabbitmqctl cluster_status
Cluster status of node rabbit@smacmullen ...
[{nodes,[{disc,[hare@smacmullen,rabbit@smacmullen]}]},
{running_nodes,[rabbit@smacmullen,hare@smacmullen]},
{partitions,[]}]
...done.</pre><div><br></div><div style>to give you an idea of any partitions that might be occurring.</div><div style><br></div><div style>2.8.6 has a different output, though:</div><div style><br></div><div style><div>
Cluster status of node 'rabbit@aus-rmq4' ...</div><div>[{nodes,[{disc,['rabbit@aus-rmq3','rabbit@aus-rmq4']}]},</div><div> {running_nodes,['rabbit@aus-rmq3','rabbit@aus-rmq4']}]</div>
<div>...done.</div><div><br></div><div><br></div><div style>So, my questions are:</div><div style><br></div><div style>1) is this partitions output a feature of a newer version of RabbitMQ? Which version?</div><div style>
2) Is there a reliable way of detecting a partitioned mnesia database in 2.8.6 that doesn't rely upon tailing the log file and looking for something like:</div><div style><br></div><div style> Mnesia('rabbit@aus-rmq4'): ** ERROR ** mnesia_event got {inconsistent_database, starting_partitioned_network, 'rabbit@aus-rmq3'}</div>
<div style><br></div><div style>We will be upgrading soon, but we're not quite through with our testing yet so we can't just flip the version right now.</div><div style><br></div><div style>Thanks,</div><div style>
Travis</div><div><br></div></div>-- <br>Travis Campbell<br><a href="mailto:travis@ghostar.org" target="_blank">travis@ghostar.org</a>
</div></div>