lp:~thedac/charms/trusty/rabbitmq-server/sleep-on-restart
- Get this branch:
- bzr branch lp:~thedac/charms/trusty/rabbitmq-server/sleep-on-restart
Branch merges
- Liam Young (community): Approve
-
Diff: 640 lines (+227/-120)5 files modifiedhooks/rabbit_utils.py (+159/-73)
hooks/rabbitmq_server_relations.py (+26/-33)
tests/basic_deployment.py (+5/-1)
unit_tests/test_rabbit_utils.py (+11/-8)
unit_tests/test_rabbitmq_server_relations.py (+26/-5)
Branch information
- Owner:
- David Ames
- Status:
- Development
Recent revisions
- 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