Comment 13 for bug 1655417

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-percona-cluster (master)

Reviewed: https://review.openstack.org/432502
Committed: https://git.openstack.org/cgit/openstack/charm-percona-cluster/commit/?id=58d3641dee06a553ed4408b47313b18ca1761d2d
Submitter: Jenkins
Branch: master

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.

    Partial-Bug: #1655417
    Change-Id: Ie9deb266a9682e86f3a9cbc1103b655b13a8295e