Comment 26 for bug 1717590

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

Reviewed: https://review.openstack.org/507553
Committed: https://git.openstack.org/cgit/openstack/charm-percona-cluster/commit/?id=c8e8adc1e69fcabeebb0901175e52d8bd1c68d42
Submitter: Jenkins
Branch: stable/17.08

commit c8e8adc1e69fcabeebb0901175e52d8bd1c68d42
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
    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 <email address hidden>

    Partial-Bug: #1717590
    Change-Id: I7004218fe4750427bb0d3a957c13c4acfa02e1cd
    (cherry picked from commit fb95b22add55e0254523c9a6a6f84c832931c20c)