mariadb/storage/innobase/log
Marko Mäkelä 16d308e21d MDEV-14874 innodb_encrypt_log corrupts the log when the LSN crosses 32-bit boundary
This bug affects both writing and reading encrypted redo log in
MariaDB 10.1, starting from version 10.1.3 which added support for
innodb_encrypt_log. That is, InnoDB crash recovery and Mariabackup
will sometimes fail when innodb_encrypt_log is used.

MariaDB 10.2 or Mariabackup 10.2 or later versions are not affected.

log_block_get_start_lsn(): Remove. This function would cause trouble if
a log segment that is being read is crossing a 32-bit boundary of the LSN,
because this function does not allow the most significant 32 bits of the
LSN to change.

log_blocks_crypt(), log_encrypt_before_write(), log_decrypt_after_read():
Add the parameter "lsn" for the start LSN of the block.

log_blocks_encrypt(): Remove (unused function).
2018-01-08 09:44:40 +02:00
..
log0crypt.cc MDEV-14874 innodb_encrypt_log corrupts the log when the LSN crosses 32-bit boundary 2018-01-08 09:44:40 +02:00
log0log.cc MDEV-14874 innodb_encrypt_log corrupts the log when the LSN crosses 32-bit boundary 2018-01-08 09:44:40 +02:00
log0recv.cc Merge 10.0 into 10.1 2017-09-07 12:08:34 +03:00