lp:~longbow/kewpie/xb_manager
- Get this branch:
- bzr branch lp:~longbow/kewpie/xb_manager
Branch merges
- Valentine Gostev: Approve
-
Diff: 335 lines (+272/-2)5 files modifiedkewpie.py (+4/-1)
lib/test_mgmt/execution_management.py (+2/-1)
lib/test_mgmt/test_execution.py (+1/-0)
lib/util/xb_manager.py (+203/-0)
percona_tests/xbm/xb_incremental_test.py (+62/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 130. By Valentine Gostev
-
Introducing alpha version of xtrabackup management library for kewpie.
Service functions added:
clean_dir - for wiping out datadir contents before copy-back
alloc_dir - function to find an appropriate name for file or dir
execute_cmd - copied from old xtrabackup methods. Uses PopenMethods added:
backup_full(server) - method performs a full backup of a given server,
returns a backup object
prepare(backup, rollback= True/False) - prepares a given backup. rollback
flag defines wether we rollback uncommited trxs or not
returns retcode and output from execute_cmd()
restore(backup, server) - restores backup to a given server.
Server stops, then clean_dir() is called to wipe out datadir contents,
then copy-back is perform and server starts against restored data.
returns retcode and output from execute_cmd() or a custom retcode and
output of backup was in wrong state (not usable for restore)Backup state:
Backup is an object, featuring status attr (backup.status) which is a
literal string. Allowed statuses (will be extended later):
'full-backup'
'prepared'
'prepared-redo-only'
'prepare-failed'
Status indicates the current state of backup. For example restore method
will be executed only when status is 'prepared' or 'prepared-redo-only'
and will fail in all other cases - 124. By Patrick Crews
-
Fix what appears to be logic issue with matrix_manager - was causing test runs to die if we didn't have an optmatrix value specified
- 121. By Patrick Crews
-
Merge Valentine's method to check opt matrix for required values with minor edit
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:kewpie