Comment 2 for bug 1868326

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

Reviewed: https://review.opendev.org/714235
Committed: https://git.openstack.org/cgit/openstack/charm-percona-cluster/commit/?id=1f56c36b9fef4d61a2b7ae8ea0f4431698242f97
Submitter: Zuul
Branch: master

commit 1f56c36b9fef4d61a2b7ae8ea0f4431698242f97
Author: Felipe Reyes <email address hidden>
Date: Fri Mar 20 19:03:14 2020 -0300

    Mark seeded on cluster-relation-changed

    When a node is bootstrapped and the other join, they will receive a copy of
    the database via SST with the help of XtraBackup, during this process the
    /var/lib/percona-xtradb-cluster will be emptied so after this the seeded
    file will be missing. Since the action bootstrap-pxc will trigger the
    cluster-relation-changed hook it's a good place to call mark_seeded().

    Change-Id: I8510bb81435a3096d6a005610fce88ff2b7ffeab
    Closes-Bug: #1868326
    Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/203