lp://staging/~gl-az/percona-xtrabackup/2.1-io-block-size
- Get this branch:
- bzr branch lp://staging/~gl-az/percona-xtrabackup/2.1-io-block-size
Branch merges
Branch information
- Owner:
- George Ormond Lorch III
- Status:
- Development
Recent revisions
- 584. By George Ormond Lorch III
-
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).
- Changed the ds_buffer size when chained behind compression to (UNIV_PAGE_SIZE * (xtrabackup_iosize + 1)), the one extra page is for any additional formatting overhead that would normally be seen in compression and xbstream.
- Corrected the retry logic in fil_cur.cc 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, 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/percona-xtrabackup/2.1