mariadb/storage/innobase
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
..
btr MDEV-22255 SIGABRT: Assertion id' failed in trx_write_trx_id on INSERT | Assertion id > 0' failed in trx_write_trx_id | Assertion val > 0' failed in row_upd_index_entry_sys_field | Assertion thr_get_trx(thr)->id || index->table->no_rollback()' failed. 2021-04-15 17:53:33 +03:00
buf MDEV-25869 Change buffer entries are lost on InnoDB restart 2021-06-08 13:21:33 +03:00
data MDEV-20377: Fix -Wunused-but-set-variable 2020-07-01 20:34:06 +03:00
dict MDEV-25503 InnoDB hangs on startup during recovery 2021-04-27 17:07:37 +05:30
eval MDEV-21254 Remove unused keywords from the InnoDB SQL parser 2019-12-09 12:32:04 +02:00
fil MDEV-14180 Automatically disable key rotation checks for file_key_managment plugin 2021-06-15 13:15:32 +05:30
fsp MDEV-23456 fixup: Simplify a comparison 2020-09-09 13:04:11 +03:00
fts MDEV-25721 Double free of table when inplace alter 2021-05-23 15:53:59 +05:30
fut Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
gis MDEV-23693 Failing assertion: my_atomic_load32_explicit(&lock->lock_word, MY_MEMORY_ORDER_RELAXED) == X_LOCK_DECR 2020-10-27 18:30:00 +05:30
ha Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
handler Cleanup: Remove handler::update_table_comment() 2021-05-27 09:31:19 +03:00
ibuf MDEV-13103 fixup: Actually fix a crash during IMPORT TABLESPACE 2021-03-31 09:06:44 +03:00
include MDEV-14180 Automatically disable key rotation checks for file_key_managment plugin 2021-06-15 13:15:32 +05:30
lock MDEV-25319 : Long BF log wait turns on InnoDB Monitor output without telling, never turns it off 2021-04-28 11:11:25 +03:00
log MDEV-25456 - fix predicate in ib::error_or_warn 2021-04-22 16:59:30 +02:00
mach Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mem MDEV-20377: Make WITH_MSAN more usable 2020-07-01 17:23:00 +03:00
mtr MDEV-24188 fixup: Correct the FindBlockX predicate 2020-11-18 13:52:37 +02:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message () 2019-03-24 21:24:28 +04:00
os MDEV-21584 - portability fix 2021-03-18 12:24:35 +02:00
page MDEV-22653: Remove the useless parameter innodb_simulate_comp_failures 2021-03-22 18:12:44 +02:00
pars MDEV-22255 SIGABRT: Assertion id' failed in trx_write_trx_id on INSERT | Assertion id > 0' failed in trx_write_trx_id | Assertion val > 0' failed in row_upd_index_entry_sys_field | Assertion thr_get_trx(thr)->id || index->table->no_rollback()' failed. 2021-04-15 17:53:33 +03:00
que Cleanup: Remove unused symbol QUE_THR_PROCEDURE_WAIT 2021-01-08 16:14:26 +02:00
read MVCC::view_close(): Correct comments 2019-09-04 09:42:38 +03:00
rem MDEV-23851 MDEV-24229 BF-BF conflict issues 2020-12-28 09:06:16 +02:00
row MDEV-25758 InnoDB spatial indexes miss large geometry fields after MDEV-25459 2021-05-27 15:01:19 +05:30
srv revive innodb_debug_sync 2021-04-27 11:51:17 +03:00
sync MDEV-24188 Hang in buf_page_create() after reusing a previously freed page 2020-11-13 20:16:39 +02:00
trx MDEV-25503 InnoDB hangs on startup during recovery 2021-04-27 17:07:37 +05:30
ut MDEV-20377: Fix cmake -DPLUGIN_PERFSCHEMA=NO 2020-07-02 06:03:59 +03:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt MDEV-23693 Failing assertion: my_atomic_load32_explicit(&lock->lock_word, MY_MEMORY_ORDER_RELAXED) == X_LOCK_DECR 2020-10-27 18:30:00 +05:30
compile-innodb Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
COPYING.Google
COPYING.Percona
innodb.cmake MDEV-21362 do something with -fno-builtin-memcmp for rem0cmp.cc 2019-12-24 17:03:27 +08:00
lz4.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzma.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
lzo.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
plugin_exports
snappy.cmake Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00