[MDEV-26864] Race condition between transaction commit and undo log truncation Created: 2021-10-20  Updated: 2022-05-10  Resolved: 2021-10-21

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.2.41, 10.3.32, 10.4.22, 10.5.13, 10.6.3

Type: Bug Priority: Blocker
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: not-10.6, upstream

Issue Links:
Blocks
blocks MDEV-26867 Merge new release of InnoDB 5.7.36 to... Closed
Relates
relates to MDEV-26450 Corruption due to innodb_undo_log_tru... Closed

 Description   

There is a race condition between InnoDB undo tablespace truncation and transaction commit. The transaction is releasing the rollback segment reference prematurely.
Bug#33162828: INNODB: Assertion failure: ut0ut.cc:552 thread 140294520874752



 Comments   
Comment by Marko Mäkelä [ 2021-10-21 ]

This race condition does not affect the MariaDB Server 10.6 series, because the code was restructured before the GA release on a merge of MDEV-15912.

Generated at Thu Feb 08 09:48:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.