[MDEV-12057] Embedded server shutdown hangs in InnoDB Created: 2017-02-13  Updated: 2017-06-08  Resolved: 2017-02-14

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

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

Issue Links:
Problem/Incident
causes MDEV-13039 innodb_fast_shutdown=0 may fail to pu... Closed
is caused by MDEV-5800 indexes on virtual (not materialized)... Closed

 Description   

Ever since MDEV-5800 enabled indexed virtual columns for InnoDB, the InnoDB shutdown relied on close_connections() that would set thd->killed for the InnoDB purge threads. Alas, the embedded server shutdown is not invoking close_connections(), and thus InnoDB purge threads fail to initiate shutdown, causing the embedded server to hang.
This is repeatable at a high probability by running

./mtr --repeat=100 --embedded gcol.innodb_virtual_debug_purge



 Comments   
Comment by Marko Mäkelä [ 2017-02-13 ]

3b61f077581: MDEV-12057 Embedded server shutdown hangs in InnoDB

Comment by Jan Lindström (Inactive) [ 2017-02-14 ]

ok to push.

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