Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
Description
Easily reproducible with mtr...
mtflush.opt:
--innodb_use_mtflush=1 --innodb_mtflush_threads=32
|
mtflush.test:
--source include/have_innodb.inc
|
|
--source include/mysqladmin_shutdown.inc
|
Observe long shutdown and then:
...
|
2016-11-08 12:35:07 139764986319616 [Warning] InnoDB: 32 threads created by InnoDB had not exited at shutdown!
|
...
|
Most probably the following lines were lost in merge at innobase_shutdown_for_mysql():
if (srv_use_mtflush) {
|
/* g. Exit the multi threaded flush threads */
|
|
buf_mtflu_io_thread_exit();
|
}
|
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.2.3 [ 22115 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 78235 ] | MariaDB v4 [ 151199 ] |
commit 8c038239748f6a9666e07e601a46967d3a0381d0
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Thu Nov 10 09:42:49 2016 +0200
MDEV-11250: mtflush threads stall on shutdownCode calling mtflush threads to exit was too late.