charm-percona-cluster/hooks
David Ames fb95b22add Update all clients once and only once
This change solves two problmes. First, one off problems waiting
for the cluster to complete. Second, running update_shared_db_rels
too often.

Update clients will get executed only once as soon as
leader_node_is_ready() or client_node_is_ready() returns True.
Subsequent client requests will be handled by normal
*db-relation-changed hooks.

Co-Authored-By: Liam Young <liam.young@canonical.com>

Partial-Bug: #1717590
Change-Id: I7004218fe4750427bb0d3a957c13c4acfa02e1cd
2017-09-25 16:03:00 +00: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 Install python dependencies early for CH ip.py 2016-07-18 09:58:01 -07: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 Update all clients once and only once 2017-09-25 16:03:00 +00:00
percona_utils.py When VIP is set wait on hacluster is_clustered 2017-09-21 16:15:37 +00: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