[MDEV-26012] InnoDB purge and shutdown hangs after failed ALTER TABLE Created: 2021-06-24  Updated: 2021-06-24  Resolved: 2021-06-24

Status: Closed
Project: MariaDB Server
Component/s: Full-text Search, Storage Engine - InnoDB
Affects Version/s: 10.6.2
Fix Version/s: 10.6.3

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

Issue Links:
Problem/Incident
is caused by MDEV-25506 Atomic DDL: .frm file is removed and ... Closed

 Description   

In ha_innobase::commit_inplace_alter_table() there are two error handling code paths where we fail to invoke purge_sys.resume_FTS() after purge_sys.stop_FTS() had been invoked. This would cause purge threads to wait forever for the counter to reach 0 again, and eventually cause the server shutdown to hang.


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