Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

rabbit_clusterer:status() returns "Clusterer is booting" after a node was restarted due to pause_minority #7

Closed
kkalin78 opened this issue Nov 25, 2015 · 3 comments
Assignees

Comments

@kkalin78
Copy link
Contributor

When a node had been paused due to pause_minority and later restored rabbit_clustere:status reports "Cluster is booting". Although the cluster is alive and all nodes including this one are part of the cluster. rabbitmqctl cluster_status shows correct output. I looked at the plugin code and looks like it gets zero notification in this case. RabbitMQ restart is controlled by rabbit itself.

How to reproduce:

  1. Build a cluster using the plugin and set pause_minority
  2. Using iptables drop connectivity of one node to other cluster members and wait until it pauses
  3. Remove iptables rules to restore the connectivity
  4. Check that rabbitmqctl eval 'rabbit_clusterer:status().' returns incorrect status.
@michaelklishin
Copy link
Member

rabbitmq-clusterer only covers initial cluster formation, not ongoing cluster operations. After the clusterer started cluster nodes, it has absolutely no effect on or awareness of how clustering works.

@kkalin78
Copy link
Contributor Author

Should I rely on rabbitmqctl cluster_status always even if I use the plugin to assembly the cluster?

@michaelklishin
Copy link
Member

@kkalin78 HTTP API or rabbitmqctl, just like before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants