[MDEV-17851] Assertion failure srv_undo_tablespaces > 1 Created: 2018-11-27  Updated: 2018-11-28  Resolved: 2018-11-28

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2.5, 10.3.0, 10.4.0
Fix Version/s: 10.4.1, 10.2.20, 10.3.12

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

Issue Links:
Problem/Incident
is caused by MDEV-12289 Keep 128 persistent rollback segments... Closed

 Description   

If InnoDB is set up with innodb_undo_tablespaces=2 and later restarted with innodb_undo_tablespaces=0, a debug assertion can fail in trx_assign_rseg_low() when a transaction is about to write undo log.

Instead of letting the assertion fail when innodb_undo_tablespaces=0, we should simply skip rollback segments that are outside the system tablespace.


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