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

KIlling thread on Galera could cause mutex deadlock

    XMLWordPrintable

Details

    Description

      There following issues here:

      • Whenever Galera BF (brute force) transaction decides to abort conflicting transaction it will kill that thread using thd::awake()
      • User KILL [QUERY|CONNECTION] ... for a thread it will also call thd::awake()
        Whenever one of these actions is executed we will hold number of InnoDB internal mutexes and thd mutexes.
        Sometimes these mutexes are taken in different order causing mutex deadlock.

      Attachments

        Issue Links

          Activity

            People

              jplindst Jan Lindström (Inactive)
              jplindst Jan Lindström (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 40d 5.75h
                  40d 5.75h

                  Git Integration

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