lp:~thedac/charms/trusty/rabbitmq-server/only-toggle-on-join
- Get this branch:
- bzr branch lp:~thedac/charms/trusty/rabbitmq-server/only-toggle-on-join
Branch merges
- OpenStack Charmers: Pending requested
-
Diff: 58 lines (+8/-4)3 files modifiedhooks/rabbit_utils.py (+4/-0)
hooks/rabbitmq_server_relations.py (+0/-3)
unit_tests/test_rabbit_utils.py (+4/-1)
Branch information
- Owner:
- David Ames
- Status:
- Development
Recent revisions
- 122. By James Page
-
Misc fixes for 15.10 release including
Fixup of state status message for lead unit when clustered
Amulet test additions and fixes.
- 119. By Liam Young
-
[tribaal, r=gnuoy] * Move log to a non-random time position (to have a chance at figuring out races)
* Added extra logging around leader-election or min-cluster-size. - 117. By Billy Olsen
-
[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
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/rabbitmq-server