~ahasenack/charms/trusty/percona-cluster-autodetect-vip/trunk

Viewing all changes in revision 69.

  • Committer: Edward Hope-Morley
  • Date: 2015-07-29 13:55:50 UTC
  • mfrom: (68.1.1 percona-cluster.lp1475585)
  • Revision ID: edward.hope-morley@canonical.com-20150729135550-skjcp3l719iu7bls
[hopem,r=james-page]

Fix bootstrap clustering issues

Current code assumes the cluster relation will
fire prior to others if peers exist but this is
not a safe assumption. This patch ensures that
however we mark the cluster as bootstrapped we
ensure at least the leader is marked seeded so
as to avoid unnecessary restarts.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: