charm-percona-cluster/hooks
Rafael Lopez a86390aeab Additional check to replace missing seeded file
The additional check is based on cluster being bootstrapped and the last
backup being a SST.

The change includes new function for checking the last backup was SST and unittests to verify said function as well as the main charm_check_func where the check is used and seeded file is replaced.

Closes-Bug: #2000107
Signed-off-by: Rafael Lopez <rafael.lopez@canonical.com>
Change-Id: I8e516059da5299cc0e0ce8ef0802d3a46abb1a54
2023-01-27 08:34:44 +00:00
..
__init__.py Convert to python3 2019-07-08 07:41:48 -07:00
cluster-relation-changed Initial charm 2013-09-03 17:52:02 +01:00
cluster-relation-departed Store shared-db information in the peer relation for clustered deploys and echo back to client service for each unit 2014-08-15 14:16:23 +00:00
cluster-relation-joined Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
config-changed Initial charm 2013-09-03 17:52:02 +01:00
db-admin-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
db-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
ha-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
ha-relation-joined Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
install Convert to python3 2019-07-08 07:41:48 -07:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:54:27 +01:00
leader-deposed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-elected Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-settings-changed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
master-relation-changed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
master-relation-departed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
master-relation-joined MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
nrpe-external-master-relation-changed [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
nrpe-external-master-relation-joined [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
percona_hooks.py Revert "Added NRPE requested governor CPU check" 2022-08-12 19:32:13 +03:00
percona_utils.py Additional check to replace missing seeded file 2023-01-27 08:34:44 +00:00
post-series-upgrade Series Upgrade 2018-09-17 15:38:00 +02:00
pre-series-upgrade Series Upgrade 2018-09-17 15:38:00 +02:00
shared-db-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
slave-relation-changed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
slave-relation-departed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
slave-relation-joined MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
start Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
stop Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
update-status Add basic status checks 2015-10-07 12:29:00 -07:00
upgrade-charm Initial charm 2013-09-03 17:52:02 +01:00