~gl-az/percona-xtrabackup/2.0-io-block-size

Viewing all changes in revision 552.

  • Committer: George O. Lorch III
  • Date: 2013-04-30 21:43:19 UTC
  • Revision ID: george.lorch@percona.com-20130430214319-1pv6vifiqdxgwpum
This implements the io-block-size option for XtraBackup and innobackupex (just for passthrough) which specifies number of pages to read/write per cycle.
Changes made:
- Increased the default from 64 pages to 256 pages (4M).
- Corrected the retry logic in xtrabackup_copy_datafile so that an individual page will be re-read up to a pre-determined number of times and for each validation failure, only that page will be re-read. Previous logic would re-read the entire block and continue counting retry failures even across failed and then successfully read pages.
- Created very simple test case that sets io-block-size to a larger value.
- Corrupt page reads are tested as part of bug766033.sh which creates a corrupted dataset and looks for the error message.
- Not tested as part of any test is a page that has been read and failed validation, then re-read and passed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: