[MDEV-15246] InnoDB: Unknown error code 20: Required history data has been deleted Created: 2018-02-08  Updated: 2020-05-23  Resolved: 2018-02-15

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.3.5
Fix Version/s: 10.3.5

Type: Bug Priority: Blocker
Reporter: Marko Mäkelä Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: corruption, purge, transactions

Issue Links:
Problem/Incident
causes MDEV-22680 InnoDB trx_sys improvements Open
is caused by MDEV-15104 Remove trx_sys_t::rw_trx_ids and trx_... Closed
Epic Link: arm64 optimization

 Description   

The last commit of MDEV-15104 apparently causes intermittent corruption of the purge_sys->view, allowing old versions of records to be purged prematurely.



 Comments   
Comment by Sergey Vojtovich [ 2018-02-14 ]

marko, please review https://github.com/mariadb/server/commit/5b27354deb6e1a81f44e725259ff02813055d061

Comment by Marko Mäkelä [ 2018-02-14 ]

Looks good to me.

Generated at Thu Feb 08 08:19:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.