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

Notify tpool threadpool about MDL waits

Details

    Description

      As Innodb background threads are using MDL lock now, the threadpool should be notified
      about the waits via tpool_wait_begin/end.

      Attachments

        Issue Links

          Activity

            There's already thd_wait_begin() call in mdl. May be we should set special thd->scheduler to implement this?

            svoj Sergey Vojtovich added a comment - There's already thd_wait_begin() call in mdl. May be we should set special thd->scheduler to implement this?
            wlad Vladislav Vaintroub added a comment - - edited

            There is no THD in the background threads, or should not be.

            wlad Vladislav Vaintroub added a comment - - edited There is no THD in the background threads, or should not be.

            Then it should probably be MDL_context method.

            svoj Sergey Vojtovich added a comment - Then it should probably be MDL_context method.

            People

              wlad Vladislav Vaintroub
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.