mariadb/storage/innobase/fsp
Marko Mäkelä a0f02f7438 MDEV-32757 innodb_undo_log_truncate=ON is not crash safe
trx_purge_truncate_history(): Do not prematurely mark dirty pages
as clean. This will be done in mtr_t::commit_shrink() as part of
Shrink::operator()(mtr_memo_slot_t*). Also, register each dirty page
only once in the mini-transaction.

fsp_page_create(): Adjust and simplify the page creation during
undo tablespace truncation. We can directly reuse pages that are
already in buf_pool.page_hash.

This fixes a regression that was caused by
commit f5794e1dc6 (MDEV-26445).

Tested by: Matthias Leich
Reviewed by: Thirunarayanan Balathandayuthapani
2023-11-15 12:23:35 +02:00
..
fsp0file.cc MDEV-31851 After crash recovery, undo tablespace fails to open 2023-10-17 18:41:21 +05:30
fsp0fsp.cc MDEV-32757 innodb_undo_log_truncate=ON is not crash safe 2023-11-15 12:23:35 +02:00
fsp0space.cc MDEV-23855: Remove fil_system.LRU and reduce fil_system.mutex contention 2020-10-26 17:09:01 +02:00
fsp0sysspace.cc MDEV-31851 After crash recovery, undo tablespace fails to open 2023-10-17 18:41:21 +05:30