[MDEV-11536] Prepare must use original configuration for innodb-encrypt-log by default Created: 2016-12-10 Updated: 2016-12-11 Resolved: 2016-12-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.1.20 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andrii Nikitin (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Description |
|
For particular single environment DBA must be able to perform backup / restore with the same xtrabackup commands without regard whether encryption is enabled or not. If backup is restored in different environment - some tweaks may be needed depending on source and destination configuration. Thus original configuration for innodb-encrypt-log (and innodb-encrypt-tables) must be stored in backup-my.cnf and used during prepare by default. Currently following scenarios are observed, which are incorrect when SCENARIO A. SCENARIO B. SCENARIO C. (technically the same as A) TLDR: To make sure that DBA may use the same xtrabackup commands in single particular environment without regard of encryption configuration - backup-my.cnf must preserve original values for innodb-encrypt-log, innodb-encrypt-tables and innodb-tablespaces-encryption |
| Comments |
| Comment by Vladislav Vaintroub [ 2016-12-10 ] |
|
Prepare creates empty logs. Whether they are encrypted or not, is unimportant. |
| Comment by Andrii Nikitin (Inactive) [ 2016-12-11 ] |
|
OK, I was misled by error from --stats on restored datadir : That lead me to incorrect conclusion that encryption on logs doesn't match settings. Closing this bug as invalid, will open new one for --stats |