[MDEV-28840] innodb_undo_log_truncate is not crash-safe Created: 2022-06-14  Updated: 2023-05-31  Resolved: 2022-06-14

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: N/A
Fix Version/s: 10.6.9, 10.7.5, 10.8.4, 10.9.2

Type: Bug Priority: Blocker
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-31373 innodb_undo_log_truncate=ON recovery ... Closed
relates to MDEV-18976 Implement a CHECKSUM redo log record ... Closed

 Description   

Likely caused by MDEV-18976, innodb_undo_log_truncate=ON lost its crash-safety status. The reason is that the pages of the being-truncated undo log tablespace were not marked as modified by the mini-transaction. The logic of logging page-free operations was changed in MDEV-18976.

The failures are rare and hard to repeat, but there is some indication that a small fix to trx_purge_free_segment() would fix this.

I did not find any matching failures of the test innodb.undo_log_truncate between 10.3 and 10.5.


Generated at Thu Feb 08 10:03:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.