charm-percona-cluster/hooks
David Ames 801c2e7829 Redesign cluster buildup process
In order to fix bug#1756928 the whole cluster buildup process needed to
be redesigned. The assumptions about what is_bootstrapped and clustered
meant and when to restart on configuration changed needed to be
re-evaluated.

The timing of restarts needed to be protected to avoid collisions.
Only bootstrapped hosts should go in to the
wsrep_cluster_address=gcomm:// setting. Adding or removing units should
be handled gracefully. Starting with a single unit and expanding to a
cluster must work.

This change guarantees mysqld is restarted when the configuration file
changes and meets all the above requirements. As a consequence of the redesign,
the workload status now more accurately reflects the state of the unit.

Charm-helpers sync to bring in distributed_wait fix.

Closes-Bug: #1756308
Closes-Bug: #1756928
Change-Id: I0742e6889b32201806cec6a0b5835e11a8027567
2018-03-29 09:24:05 -07:00
..
charmhelpers sync charm-helpers for liberty cloud archive support 2015-08-26 13:11:30 +00:00
cluster-relation-changed Initial charm 2013-09-03 17:52:02 +01:00
cluster-relation-departed Store shared-db information in the peer relation for clustered deploys and echo back to client service for each unit 2014-08-15 14:16:23 +00:00
cluster-relation-joined Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
config-changed Initial charm 2013-09-03 17:52:02 +01:00
db-admin-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
db-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
ha-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
ha-relation-joined Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
install Add support for PXC 5.7 and xtrabackup 2.4 2018-03-09 11:55:43 +00:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:54:27 +01:00
leader-deposed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-elected Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-settings-changed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
nrpe-external-master-relation-changed [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
nrpe-external-master-relation-joined [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
percona_hooks.py Redesign cluster buildup process 2018-03-29 09:24:05 -07:00
percona_utils.py Redesign cluster buildup process 2018-03-29 09:24:05 -07:00
shared-db-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
start Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
stop Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
update-status Add basic status checks 2015-10-07 12:29:00 -07:00
upgrade-charm Initial charm 2013-09-03 17:52:02 +01:00