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

Race condition on shutdown when threadpool is used

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • 10.0.3, 5.5.32
    • 10.0.5, 5.5.33
    • None
    • None

    Description

      All invocations of post_kill_notification are protected by LOCK_thd_data except one in close_connections. This may lead to race condition. post_kill_notification will shutdown the socket, event handler thread will receive notification and will destroy the THD at the same time.

      Attachments

        Activity

          People

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