Thirunarayanan Balathandayuthapani
8c7d8b716c
MDEV-14180 Automatically disable key rotation checks for file_key_managment plugin
...
Problem:
=======
- InnoDB iterates the fil_system space list to encrypt the
tablespace in case of key rotation. But it is not
necessary for any encryption plugin which doesn't do
key version rotation.
Solution:
=========
- Introduce a new variable called srv_encrypt_rotate to
indicate whether encryption plugin does key rotation
fil_space_crypt_t::key_get_latest_version(): Enable the
srv_encrypt_rotate only once if current key version is
higher than innodb_encyrption_rotate_key_age
fil_crypt_must_default_encrypt(): Default encryption tables
should be added to default_encryp_tables list if
innodb_encyrption_rotate_key_age is zero and encryption
plugin doesn't do key version rotation
fil_space_create(): Add the newly created space to
default_encrypt_tables list if
fil_crypt_must_default_encrypt() returns true
Removed the nondeterministic select from
innodb-key-rotation-disable test. By default,
InnoDB adds the tablespace to the rotation list and
background crypt thread does encryption of tablespace.
So these select doesn't give reliable results.
2021-06-15 13:15:32 +05:30
..
2015-05-13 14:27:17 +02:00
2019-06-06 12:54:34 +05:30
2019-06-06 12:54:34 +05:30
2019-05-29 08:14:49 +03:00
2020-09-21 16:14:35 +03:00
2020-09-21 16:14:35 +03:00
2020-09-22 13:08:09 +03:00
2020-09-22 13:08:09 +03:00
2015-10-29 10:35:37 +02:00
2018-01-05 10:31:11 +02:00
2017-04-26 15:19:16 +03:00
2018-03-22 18:01:29 +02:00
2015-05-13 14:27:16 +02:00
2017-10-31 09:10:25 +02:00
2019-08-16 18:11:32 +05:30
2019-08-16 18:11:32 +05:30
2017-05-10 09:06:57 +03:00
2016-03-22 22:20:33 +02:00
2016-03-22 22:20:33 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2017-11-01 09:55:00 +02:00
2015-10-10 14:19:02 +02:00
2015-09-17 16:40:31 +03:00
2015-06-27 09:40:54 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-06-02 19:00:23 +02:00
2016-09-27 07:54:27 +03:00
2016-09-27 07:54:27 +03:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2015-05-13 14:27:16 +02:00
2016-09-27 07:54:27 +03:00
2020-08-21 14:48:53 +03:00
2019-05-02 13:31:59 +03:00
2019-05-02 13:31:59 +03:00
2019-09-01 19:17:35 +03:00
2017-02-15 08:07:20 +02:00
2017-08-23 14:40:23 +03:00
2017-09-08 09:38:42 +03:00
2019-06-28 19:07:59 +05:30
2020-07-28 13:00:59 +03:00
2015-09-08 08:38:12 +03:00
2018-04-21 11:58:32 +03:00
2015-09-23 17:34:36 +03:00
2018-04-13 14:03:12 +03:00
2016-03-18 11:48:49 +02:00
2017-05-10 09:06:57 +03:00
2016-09-22 16:38:24 +03:00
2017-05-10 09:06:57 +03:00
2015-05-13 14:27:16 +02:00
2020-05-15 10:44:05 +03:00
2015-05-13 14:27:16 +02:00
2018-02-24 22:39:21 +02:00
2015-10-29 10:46:37 +01:00
2018-03-22 18:01:29 +02:00
2015-05-13 14:27:16 +02:00
2017-05-10 09:06:57 +03:00
2017-04-26 15:19:16 +03:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2018-03-22 18:01:29 +02:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2019-04-03 19:56:03 +03:00
2017-05-10 09:06:57 +03:00
2017-04-26 15:19:16 +03:00
2019-04-03 19:56:03 +03:00
2019-04-03 19:56:03 +03:00
2018-12-13 15:47:38 +02:00
2017-06-01 14:07:48 +03:00
2019-04-03 19:56:03 +03:00
2017-05-10 09:06:57 +03:00
2018-06-21 23:47:39 +02:00
2015-05-15 18:12:02 +02:00
2019-07-01 15:21:17 +05:30
2019-04-03 19:56:03 +03:00
2017-06-09 13:15:39 +03:00
2017-08-31 08:36:56 +03:00
2019-05-29 13:03:32 +03:00
2017-03-14 16:23:10 +02:00
2021-06-15 13:15:32 +05:30
2016-10-29 10:09:06 +03:00
2019-04-03 19:56:03 +03:00
2020-10-17 13:13:01 +03:00
2015-05-14 11:32:24 +03:00
2020-10-17 13:13:01 +03:00
2015-05-13 14:27:16 +02:00
2017-05-10 09:06:57 +03:00
2017-05-10 09:06:57 +03:00
2017-01-19 08:19:08 +02:00
2017-01-19 08:19:08 +02:00
2017-04-26 15:19:16 +03:00
2019-09-27 17:46:10 +05:30
2017-04-26 15:19:16 +03:00
2018-06-21 23:47:39 +02:00
2018-04-06 12:59:43 +03:00
2017-01-03 11:22:49 +02:00
2017-01-03 11:22:49 +02:00
2017-02-08 09:05:15 +02:00
2019-02-05 01:34:17 +01:00
2021-06-15 13:15:32 +05:30
2021-06-15 13:15:32 +05:30
2017-08-08 14:52:08 +02:00
2020-10-23 22:36:47 +05:30
2020-10-23 22:36:47 +05:30
2018-02-08 22:54:37 +01:00
2018-02-08 22:54:37 +01:00
2019-09-01 19:17:35 +03:00