mariadb/storage/innobase
Jan Lindström 72cc73cea2 MDEV-10368: get_latest_version() called too often
Reduce the number of calls to encryption_get_key_get_latest_version
when doing key rotation with two different methods:

(1) We need to fetch key information when tablespace not yet
have a encryption information, invalid keys are handled now
differently (see below). There was extra call to detect
if key_id is not found on key rotation.

(2) If key_id is not found from encryption plugin, do not
try fetching new key_version for it as it will fail anyway.
We store return value from encryption_get_key_get_latest_version
call and if it returns ENCRYPTION_KEY_VERSION_INVALID there
is no need to call it again.
2016-12-13 11:51:33 +02:00
..
api Merge branch 'merge-innodb-5.6' into 10.0 2015-08-03 16:23:58 +02:00
btr MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
buf MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
data 5.6.31 2016-06-21 14:21:03 +02:00
dict MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
dyn move to storage/innobase 2015-05-04 19:17:21 +02:00
eval move to storage/innobase 2015-05-04 19:17:21 +02:00
fil MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
fsp Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
fts MDEV-11233 CREATE FULLTEXT INDEX with a token longer than 127 bytes 2016-12-05 15:25:59 +02:00
fut move to storage/innobase 2015-05-04 19:17:21 +02:00
ha move to storage/innobase 2015-05-04 19:17:21 +02:00
handler MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
ibuf MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
include MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
lock MDEV-11168: InnoDB: Failing assertion: !other_lock || wsrep_thd_is_BF(lock->trx->mysql_thd, FALSE) || wsrep_thd_is_BF(other_lock->trx->mysql_thd, FALSE) 2016-12-02 11:08:18 +02:00
log Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
mach move to storage/innobase 2015-05-04 19:17:21 +02:00
mem 5.6.31 2016-06-21 14:21:03 +02:00
mtr Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
mysql-test/storage_engine Follow-up for MDEV-8675 and MDEV-8676 2015-09-14 03:12:54 +03:00
os Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
page Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
pars Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
que 5.6.24 2015-05-04 22:13:46 +02:00
read move to storage/innobase 2015-05-04 19:17:21 +02:00
rem Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
row MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
srv MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
sync MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
trx MDEV-11236 Failing assertion: state == TRX_STATE_NOT_STARTED 2016-12-02 16:25:47 +02:00
usr move to storage/innobase 2015-05-04 19:17:21 +02:00
ut MDEV-8684: Remove delaying maths in ut_delay 2016-03-31 16:35:19 +11:00
CMakeLists.txt Do not build optimised power crc32 on bigendian 2015-12-18 17:15:06 +11:00
compile-innodb move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Google move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Percona move to storage/innobase 2015-05-04 19:17:21 +02:00
Doxyfile move to storage/innobase 2015-05-04 19:17:21 +02:00
ha_innodb.def move to storage/innobase 2015-05-04 19:17:21 +02:00
plugin_exports Solaris compilation failure: xtradb is linked in statically, ha_innodb.so needs 2014-05-01 14:05:52 +02:00