Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
None
Description
loading buffer pool dumps is not working for encrypted tablespaces
/* JAN: TODO: As we use background page read below,
|
if tablespace is encrypted we cant use it. */
|
if (space == NULL ||
|
(space && space->crypt_data &&
|
space->crypt_data->encryption != FIL_ENCRYPTION_OFF &&
|
space->crypt_data->type != CRYPT_SCHEME_UNENCRYPTED)) {
|
continue;
|
}
|
Attachments
Issue Links
- relates to
-
MDEV-12610 MariaDB start is slow
-
- Closed
-
I suspect that the code must have been a work-around for something that had been fixed in
MDEV-12610.In MariaDB 10.2, fil_node_open_file() computes the local variable first_time_open and will read the encryption metadata when reading the first page for other reasons. In 10.1, the code looks a bit different, but I think that the logic should be compatible.