mariadb/extra/mariabackup
Thirunarayanan Balathandayuthapani f8cf493290 MDEV-34898 Doublewrite recovery of innodb_checksum_algorithm=full_crc32 encrypted pages does not work
- InnoDB fails to recover the full crc32 encrypted page from
doublewrite buffer. The reason is that buf_dblwr_t::recover()
fails to identify the space id from the page because the page has
been encrypted from FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION bytes.

Fix:
===
buf_dblwr_t::recover(): preserve any pages whose space_id
does not match a known tablespace. These could be encrypted pages
of tablespaces that had been created with
innodb_checksum_algorithm=full_crc32.

buf_page_t::read_complete(): If the page looks corrupted and the
tablespace is encrypted and in full_crc32 format, try to
restore the page from doublewrite buffer.

recv_dblwr_t::recover_encrypted_page(): Find the page which
has the same page number and try to decrypt the page using
space->crypt_data. After decryption, compare the space id.
Write the recovered page back to the file.
2025-01-07 19:33:56 +05:30
..
quicklz
backup_copy.cc Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
backup_copy.h MDEV-31905 GTID inconsistency 2023-12-22 00:10:23 +01:00
backup_debug.h
backup_mysql.cc Merge branch '10.5' into 10.6 2024-07-18 16:25:33 +02:00
backup_mysql.h Cleanup: Remove changed_pages_bitmap 2024-02-12 17:01:35 +02:00
backup_wsrep.h
CMakeLists.txt MDEV-33091 pcre2 headers aren't found on Solaris 2024-09-05 12:14:06 +10:00
common.h Fix a case of unused-but-set-variable 2024-02-13 14:00:26 +11:00
datasink.cc
datasink.h MDEV-31039 mariadb-backup: remove global variables ds_data and ds_meta 2023-04-12 15:14:03 +04:00
ds_buffer.cc
ds_buffer.h
ds_compress.cc Merge 10.4 into 10.5 2022-08-22 13:38:40 +03:00
ds_compress.h
ds_local.cc Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
ds_local.h
ds_stdout.cc
ds_stdout.h
ds_tmpfile.cc
ds_tmpfile.h
ds_xbstream.cc
ds_xbstream.h
encryption_plugin.cc MDEV-34348: Fix casting related to plugins 2024-11-23 08:14:23 -07:00
encryption_plugin.h
fil_cur.cc Merge 10.5 into 10.6 2025-01-03 09:10:25 +02:00
fil_cur.h MDEV-30179 mariabackup --backup fails with FATAL ERROR: ... failed 2023-01-10 15:47:13 +05:30
innobackupex.cc
innobackupex.h
read_filt.cc Cleanup: Remove changed_pages_bitmap 2024-02-12 17:01:35 +02:00
read_filt.h Cleanup: Remove changed_pages_bitmap 2024-02-12 17:01:35 +02:00
write_filt.cc Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
write_filt.h MDEV-31039 mariadb-backup: remove global variables ds_data and ds_meta 2023-04-12 15:14:03 +04:00
wsrep.cc MDEV-31905 GTID inconsistency 2023-12-22 00:10:23 +01:00
xb_regex.h
xbcloud.cc Fix few vulnerabilities found by Cppcheck 2023-03-02 14:38:24 +11:00
xbstream.cc MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
xbstream.h
xbstream_read.cc
xbstream_write.cc
xtrabackup.cc MDEV-34898 Doublewrite recovery of innodb_checksum_algorithm=full_crc32 encrypted pages does not work 2025-01-07 19:33:56 +05:30
xtrabackup.h Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00