Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
At each mini-transaction commit, the log sequence number of the mini-transaction must be written to each modified page, so that it will be available in the FIL_PAGE_LSN field when the page is being read in crash recovery.
InnoDB was unnecessarily allocating redundant storage for the field, in buf_page_t::newest_modification. Let us access FIL_PAGE_LSN directly.
Furthermore, on ALTER TABLE…IMPORT TABLESPACE, we should write FIL_PAGE_LSN as 0 instead of using the value of log_sys.lsn at the start of the operation.
Attachments
Issue Links
- relates to
-
MDEV-28779 ALTER TABLE IMPORT TABLESPACE fails with Data structure corruption
- Closed
-
MDEV-16526 Overhaul the InnoDB page flushing
- Closed