[MDEV-21949] key rotation for innodb_encrypt_log is not working in 10.5 Created: 2020-03-16 Updated: 2020-03-16 Resolved: 2020-03-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Storage Engine - InnoDB |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Eugene Kosov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Found by reading the code. https://github.com/MariaDB/server/blob/17080cbcf04ab295806db8aaaeead2696988fab4/storage/innobase/log/log0crypt.cc#L158 So, all key rotation logic depends on log_t::FORMAT_ENC_10_4 while in 10.5 it should also work for log_t::FORMAT_ENC_10_5 |
| Comments |
| Comment by Marko Mäkelä [ 2020-03-16 ] |
|
The fix will change the format of the redo log record blocks when using innodb_encrypt_log. Because the log format was changed (and this bug introduced) in MariaDB 10.5.2 by |