~adam-collard/charms/trusty/rabbitmq-server/fix-le-ignore-min-cluster

Viewing all changes in revision 117.

  • Committer: billy.olsen at canonical
  • Date: 2015-10-07 04:40:35 UTC
  • mfrom: (116.1.8 rabbitmq-server)
  • Revision ID: billy.olsen@canonical.com-20151007044035-vbjg3n1b1ru9mmc6
[thedac,r=billy-olsen]

Ignore min-cluster-size when juju has leadership election.

This MP also addresses two major hurdles to rabbitmq clustering.

1) When more than one node has run stop_app at the same time
   nodes cannot join the cluster.

2) When using juju leadership election, if the elected leader
   is the third or greater node (i.e. rabbitmq/2 +), the leader
   would never be joined to the cluster.

Changing the clustering algorithm for each non-leader to join_cluster
with the leader resolves this. Also by clustering with the leader
rather than non-leader nodes we avoid split-brain clusters.

Closes-Bug: 1500204

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: