lp:~thedac/charms/trusty/rabbitmq-server/sleep-on-restart

Created by David Ames and last modified
Get this branch:
bzr branch lp:~thedac/charms/trusty/rabbitmq-server/sleep-on-restart
Only David Ames can upload to this branch. If you are David Ames please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
David Ames
Status:
Development

Recent revisions

126. By David Ames

rabbitmqctl helper functions

125. By David Ames

Unit tests and non-leadership election corrections

124. By David Ames

Fix get_local_nodename

123. By David Ames

Use rabbitmqctl wait and tribaal's logging

122. By David Ames

Wait after config-changed in amulet tests

121. By David Ames

service function from core.host

120. By David Ames

Override restart_on_change to add a random sleep time

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.

118. By Corey Bryant

[beisner,r=corey.bryant] Add Amulet test dependencies and clean up Makefile.

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
This branch contains Public information 
Everyone can see this information.

Subscribers