Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.8
-
None
Description
The following code in buf_load() skips encrypted pages:
/* JAN: TODO: As we use background page read below, |
if tablespace is encrypted we cant use it. */ |
if (!space || dump[i].page_no() >= space->get_size() || |
(space->crypt_data &&
|
space->crypt_data->encryption != FIL_ENCRYPTION_OFF &&
|
space->crypt_data->type != CRYPT_SCHEME_UNENCRYPTED)) {
|
continue; |
}
|
The bug was checked only for 11.8, but more likely it exists also for all versions.
Marko's comments about that:
Maybe it’s based on a misunderstanding? Or working around a bug that I fixed in 10.1 one February or March, can’t remember the year. There originally were lots of race conditions around fil0crypt.cc, especially around DDL operations.
Actually there were some fixes in 2017 and several more in 2018.
That code was added as part of the initial import from MySQL 5.7:commit
2e814d4702d71a04388386a9f591d14a35980bfe
|
Author: Jan Lindström <jan.lindstrom@mariadb.com>
|
Date: Fri Aug 12 11:17:45 2016 +0300
|
|
|
Merge InnoDB 5.7 from mysql-5.7.9.
|