Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.6
-
None
Description
Shutdown keeps on hanging because purge threads are waiting on purge_sys.check_stop_FTS()
--source include/have_partition.inc
|
--source include/have_innodb.inc
|
create table t1 (f1 int, f2 char(100))engine=innodb partition by hash(f1) partitions 2;
|
ALTER TABLE t1 ADD FULLTEXT(f2);
|
set global innodb_fast_shutdown=0;
|
--source include/restart_mysqld.inc
|
DROP TABLE t1;
|
stop_FTS is being called for each partition, but it calls resume_FTS() only once in alter command.
Attachments
Issue Links
- is caused by
-
MDEV-25506 Atomic DDL: .frm file is removed and orphan InnoDB tablespace is left behind upon crash recovery
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is caused by |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Thirunarayanan Balathandayuthapani [ thiru ] | Marko Mäkelä [ marko ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Marko Mäkelä [ marko ] | Thirunarayanan Balathandayuthapani [ thiru ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.6.8 [ 27506 ] | |
Fix Version/s | 10.7.4 [ 27504 ] | |
Fix Version/s | 10.8.3 [ 27502 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.8 [ 26121 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Thank you, the logic of the fix looks good to me. For the regression test, I hope that we can reproduce this with wait_all_purged.inc instead of requiring a server restart.