commit 58d3641dee06a553ed4408b47313b18ca1761d2d
Author: David Ames <email address hidden>
Date: Tue Feb 7 15:10:11 2017 -0800
Wait until clustered before running client hooks
Percona cluster takes some time to fully cluster. The charm was
previously running shared-db-relation-changed hooks whenever they
were queued even if the cluster was not yet complete. This may lead
to split brain scenarios or unexpected behavior.
This change confirms the entire cluster is ready before running
client shared-db-relation-changed hooks.
min-cluster-size can now be used to attempt to guarantee the cluster
is ready with the expected number of nodes. If min-cluster-size is
not set the charm will still determine based on the information
available if all the cluster nodes are ready. Single node
deployments are still possible.
Reviewed: https:/ /review. openstack. org/432502 /git.openstack. org/cgit/ openstack/ charm-percona- cluster/ commit/ ?id=58d3641dee0 6a553ed4408b473 13b18ca1761d2d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 58d3641dee06a55 3ed4408b47313b1 8ca1761d2d
Author: David Ames <email address hidden>
Date: Tue Feb 7 15:10:11 2017 -0800
Wait until clustered before running client hooks
Percona cluster takes some time to fully cluster. The charm was db-relation- changed hooks whenever they
previously running shared-
were queued even if the cluster was not yet complete. This may lead
to split brain scenarios or unexpected behavior.
This change confirms the entire cluster is ready before running db-relation- changed hooks.
client shared-
min- cluster- size can now be used to attempt to guarantee the cluster
is ready with the expected number of nodes. If min-cluster-size is
not set the charm will still determine based on the information
available if all the cluster nodes are ready. Single node
deployments are still possible.
Partial-Bug: #1655417 86f3a9cbc1103b6 55b13a8295e
Change-Id: Ie9deb266a9682e