Merge lp:~gl-az/percona-xtrabackup/BT23557-2.1-lp1160778 into lp:percona-xtrabackup/2.1
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alexey Kopytov | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 649 | ||||
Proposed branch: | lp:~gl-az/percona-xtrabackup/BT23557-2.1-lp1160778 | ||||
Merge into: | lp:percona-xtrabackup/2.1 | ||||
Diff against target: |
420 lines (+152/-144) 5 files modified
innobackupex (+136/-118) test/t/xb_compress_encrypt.sh (+3/-7) test/t/xb_encrypt.sh (+8/-6) test/t/xb_parallel_compress_encrypt.sh (+3/-7) test/t/xb_parallel_encrypt.sh (+2/-6) |
||||
To merge this branch: | bzr merge lp:~gl-az/percona-xtrabackup/BT23557-2.1-lp1160778 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Vlad Lesin (community) | g2 | Approve | |
Review via email: mp+174334@code.launchpad.net |
This proposal supersedes a proposal from 2013-06-03.
Description of the change
Fix for lp1160778 : non-InnoDB files are not encrypted.
Refactored some innobackupex to make all files not copied/streamed by xtrabackup binary go through one of two common functions. These new functions handle all of the stream/encryption formatting for non-InnoDB files. This also simplifies and normalizes some code in innobackupex that has just been added onto over time.
Encryption test cases have also been fixed and improved. xb_encrypt.sh will now fail if there are any unencrypted files detected within the backup set.
23557
http://
------
Rebased this MP on current trunk and fixed issues pointed out in last MP. Vlad if you could please re-review and think of it as a fresh review because of the re-basing. I only ran into two small conflicts but still I would like another of your great reviews if possible.
I wonder though if we should make xtrabackup_ checkpoints not encrypted so that incrementals are a little easier. Otherwise users will have to scrape the "The latest check point (for incremental):" from the innobackupex output and store it somewhere.