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

Innodb - do not allocate purge THDs during shutdown

    XMLWordPrintable

Details

    Description

      MDEV-21751 changed the logic of so that background THD allocated when needed.
      It also increased maxed out purge task during shutdown. It turns out that allocating THD when needed is not always a good idea, as THD constructor during shutdown may crash, e.g when constructor is accessing global variables, which are destroyed.

      The logic needs to be changed such that THDs are only preallocated when it is safe to do never after pre-shutdown.

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.