mirror of
https://github.com/MariaDB/server.git
synced 2026-01-29 06:49:08 +01:00
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. |
||
|---|---|---|
| .. | ||
| buf0buddy.cc | ||
| buf0buf.cc | ||
| buf0checksum.cc | ||
| buf0dblwr.cc | ||
| buf0dump.cc | ||
| buf0flu.cc | ||
| buf0lru.cc | ||
| buf0rea.cc | ||