mariadb/storage/innobase/fil
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
..
fil0crypt.cc MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
fil0fil.cc MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
fil0pagecompress.cc MDEV-9242: Innodb reports Assertion failure in file buf0dblwr.cc line 579 2016-04-29 13:47:49 +03:00