mariadb/storage/innobase/buf
Thirunarayanan Balathandayuthapani 3da5d047b8 MDEV-31851 After crash recovery, undo tablespace fails to open
Problem:
========
- InnoDB fails to open undo tablespace when page0 is corrupted
and fails to throw error.

Solution:
=========
- InnoDB throws DB_CORRUPTION error when InnoDB encounters
page0 corruption of undo tablespace.

- InnoDB restores the page0 of undo tablespace from
doublewrite buffer if it encounters page corruption

- Moved Datafile::restore_from_doublewrite() to
recv_dblwr_t::restore_first_page(). So that undo
tablespace and system tablespace can use this function
instead of duplicating the code

srv_undo_tablespace_open(): Returns 0 if file doesn't exist
or ULINT_UNDEFINED if page0 is corrupted.
2023-10-17 18:41:21 +05:30
..
buf0block_hint.cc Merge 10.4 into 10.5 2020-10-30 11:15:30 +02:00
buf0buddy.cc Merge 10.4 to 10.5 2020-10-22 17:08:49 +03:00
buf0buf.cc Merge 10.4 into 10.5 2022-12-13 14:39:18 +02:00
buf0checksum.cc Merge 10.4 into 10.5 2019-05-23 10:32:21 +03:00
buf0dblwr.cc MDEV-31851 After crash recovery, undo tablespace fails to open 2023-10-17 18:41:21 +05:30
buf0dump.cc MDEV-25417: Remove innodb buffer pool load throttling 2022-11-28 11:25:47 +02:00
buf0flu.cc MDEV-31253 Freed data pages are not always being scrubbed 2023-05-12 14:57:14 +03:00
buf0lru.cc Remove a stale comment 2023-08-21 13:28:12 +03:00
buf0rea.cc MDEV-32150 InnoDB reports corruption on 32-bit platforms with ibd files sizes > 4GB 2023-09-12 15:16:31 +03:00