mirror of
https://github.com/MariaDB/server.git
synced 2026-03-20 23:38:41 +01:00
- InnoDB fails to recover the full crc32 page_compressed 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 compressed from FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION bytes. Fix: === recv_dblwr_t::find_deferred_page(): Find the page which has the same page number and try to decompress/decrypt the page based on the tablespace metadata. After the decompression/decryption, compare the space id and write the recovered page back to the file. buf_page_t::read_complete(): Page read from disk is corrupted then try to read the page from deferred pages in doublewrite buffer. |
||
|---|---|---|
| .. | ||
| log0crypt.cc | ||
| log0log.cc | ||
| log0recv.cc | ||
| log0sync.cc | ||
| log0sync.h | ||