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.
Reviewed: https:/ /review. openstack. org/507187 /git.openstack. org/cgit/ openstack/ charm-percona- cluster/ commit/ ?id=fb95b22add5 5e0254523c9a6a6 f84c832931c20c
Committed: https:/
Submitter: Jenkins
Branch: master
commit fb95b22add55e02 54523c9a6a6f84c 832931c20c
Author: David Ames <email address hidden>
Date: Mon Sep 25 15:59:31 2017 +0000
Update all clients once and only once
This change solves two problmes. First, one off problems waiting shared_ db_rels
for the cluster to complete. Second, running update_
too often.
Update clients will get executed only once as soon as node_is_ ready() or client_ node_is_ ready() returns True. relation- changed hooks.
leader_
Subsequent client requests will be handled by normal
*db-
Co-Authored-By: Liam Young <email address hidden>
Partial-Bug: #1717590 27bb0d3a957c13c 4acfa02e1cd
Change-Id: I7004218fe47504