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
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
issue.field.resolutiondate | 2019-11-25 13:42:11.0 | 2019-11-25 13:42:11.581 |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 10.5.1 [ 24029 ] | |
Fix Version/s | 10.5.0 [ 23709 ] |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.5.1 [ 24029 ] |
Fixing Priority | 250 |
Workflow | MariaDB v3 [ 101384 ] | MariaDB v4 [ 134143 ] |
Link |
This issue relates to |