Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11250

mtflush threads stall on shutdown

    XMLWordPrintable

    Details

      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

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: