-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-17.0] Incremental backup and point in time recovery for Xtra…
…Backup (#13156) (#13241) * incremental backup is always using 'builtin' engine Signed-off-by: Shlomi Noach <[email protected]> * restore: use 'builtin' for incremental restore Signed-off-by: Shlomi Noach <[email protected]> * test all backup types Signed-off-by: Shlomi Noach <[email protected]> * format code Signed-off-by: Shlomi Noach <[email protected]> * Populate PurgedPosition Signed-off-by: Shlomi Noach <[email protected]> * cleanup backups at the end of each test case Signed-off-by: Shlomi Noach <[email protected]> * improved cleanup Signed-off-by: Shlomi Noach <[email protected]> * rename variable Signed-off-by: Shlomi Noach <[email protected]> * record all backups Signed-off-by: Shlomi Noach <[email protected]> * no need to cleanup backups in between test cases, since each new case has a completely different UUID Signed-off-by: Shlomi Noach <[email protected]> * install xtrabackup on backup_pitr tests Signed-off-by: Shlomi Noach <[email protected]> * use pgzip for xtrabackup Signed-off-by: Shlomi Noach <[email protected]> * more debug info Signed-off-by: Shlomi Noach <[email protected]> * builtin engine: store gtid_purged in manifest Signed-off-by: Shlomi Noach <[email protected]> * use backupfrom-GTID as incremental-from-GTID if first binary log has empty Previous-GTIDS Signed-off-by: Shlomi Noach <[email protected]> * more unit tests Signed-off-by: Shlomi Noach <[email protected]> * improve error message Signed-off-by: Shlomi Noach <[email protected]> * capturing MySQL's stderr and reading and logging if not empty Signed-off-by: Shlomi Noach <[email protected]> * At the end of Xtrabackup restore, validate that @@gtid_purged (and thereby @@gtid_executed) are set to the backup's @@gtid_purge. Make it so if they aren't Signed-off-by: Shlomi Noach <[email protected]> * add comperssion details into test case. Fix GTID validation of manifest file Signed-off-by: Shlomi Noach <[email protected]> * check manifest Signed-off-by: Shlomi Noach <[email protected]> * Refactor into function Signed-off-by: Shlomi Noach <[email protected]> * check manifest.Position.GTIDSet Signed-off-by: Shlomi Noach <[email protected]> * fix wrangler tests Signed-off-by: Shlomi Noach <[email protected]> * typo Signed-off-by: Shlomi Noach <[email protected]> * Update go/vt/mysqlctl/backup.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Shlomi Noach <[email protected]> * Update go/vt/mysqlctl/backup.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Shlomi Noach <[email protected]> * Update go/vt/mysqlctl/backup.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Shlomi Noach <[email protected]> * typo Signed-off-by: Shlomi Noach <[email protected]> * Update go/vt/mysqlctl/mysqld.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Shlomi Noach <[email protected]> * Update go/vt/mysqlctl/mysqld.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Shlomi Noach <[email protected]> * Update go/vt/mysqlctl/mysqld.go Co-authored-by: Matt Lord <[email protected]> Signed-off-by: Shlomi Noach <[email protected]> --------- Signed-off-by: Shlomi Noach <[email protected]> Co-authored-by: Shlomi Noach <[email protected]> Co-authored-by: Matt Lord <[email protected]>
- Loading branch information
1 parent
6cd0345
commit ebcaab2
Showing
13 changed files
with
392 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.