-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding more logging for xtrabackup.xb_with_logs and changing log oupu…
…t location Summary: xtrabackup.xb_with_logs occasionally failed with data corruption detected during copy phase. The failure happened only on 32K page size, and often on the first page of a new chunk (we saw it happens at page 256, 257, 384, 448, and 512). I add some extra logging only for XtraBackup so we can have more insights on the cause of page corruption. I also change the log output directory to MYSQLTEST_VARDIR/log. There are four log files: xtrabackup_copy_log, xtrabackup_restore_log, xtrabackup_moveback_log, gtid_stmt, which should really go into the log directory instead of tmp directory. This also let Jenkins to save those log files in test failures. Test Plan: Sanity tests on xtrabackup suite Reviewers: santoshb, jtolmer Reviewed By: jtolmer Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D53559
- Loading branch information
Showing
6 changed files
with
47 additions
and
18 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
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