fb95b22add
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 |
||
---|---|---|
.. | ||
charmhelpers | ||
cluster-relation-changed | ||
cluster-relation-departed | ||
cluster-relation-joined | ||
config-changed | ||
db-admin-relation-changed | ||
db-relation-changed | ||
ha-relation-changed | ||
ha-relation-joined | ||
install | ||
install.real | ||
leader-deposed | ||
leader-elected | ||
leader-settings-changed | ||
nrpe-external-master-relation-changed | ||
nrpe-external-master-relation-joined | ||
percona_hooks.py | ||
percona_utils.py | ||
shared-db-relation-changed | ||
start | ||
stop | ||
update-status | ||
upgrade-charm |