mariadb/storage/innobase/buf
Thirunarayanan Balathandayuthapani e583a7724b MDEV-37042 innodb_undo_log_truncate=ON leads to out-of-bounds write
During undo tablespace truncation, pages with LSNs older than the
tablespace creation LSN may still exist in the buffer pool and get
submitted to the doublewrite buffer. When mtr_t::commit_shrink() is
invoked shortly after doublewrite batch submission,
this can lead to out-of-bounds write errors.

Fix:
===
buf_dblwr_t::flush_buffered_writes_completed() : skip doublewrite
processing for pages where the page LSN is older
than the tablespace creation LSN. Such pages belong to the old
tablespace before truncation and should not be written through the
doublewrite buffer.
2026-01-21 11:32:16 +05:30
..
buf0buddy.cc MDEV-35190 HASH_SEARCH duplicates effort before HASH_INSERT or HASH_DELETE 2024-11-21 08:59:02 +02:00
buf0buf.cc MDEV-38419: Fix some clang-21 -fsanitize=memory failures 2026-01-02 09:25:46 +02:00
buf0checksum.cc MDEV-25105 Remove innodb_checksum_algorithm values none,innodb,... 2021-03-11 12:46:18 +02:00
buf0dblwr.cc MDEV-37042 innodb_undo_log_truncate=ON leads to out-of-bounds write 2026-01-21 11:32:16 +05:30
buf0dump.cc Merge branch '10.5' into 10.6 2024-07-16 15:54:22 +08:00
buf0flu.cc MDEV-37103 innodb_immediate_scrub_data_uncompressed=ON may break innodb_undo_log_truncate=ON 2025-07-16 12:01:59 +03:00
buf0lru.cc MDEV-35149 Race condition around SET GLOBAL innodb_lru_scan_depth 2024-10-21 10:08:58 +03:00
buf0rea.cc MDEV-37902: buf_read_page_low() may miss a call to thd_wait_end() 2025-10-22 19:14:20 +03:00