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

Assertion failure on wsrep_thd_is_aborting

Details

    Description

      For some reason 10.4 and 10.5 are different compared to 10.6 where we have

      mysql_mutex_assert_owner(&thd->LOCK_thd_data);
      

      This function accesses THD variables so this requirement is correct except when called holding lock_sys mutex or latch, because then transaction and it's thd cant be freed and wsrep state change is not possible.

      Attachments

        Activity

          janlindstrom Jan Lindström created issue -
          janlindstrom Jan Lindström made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          janlindstrom Jan Lindström made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          janlindstrom Jan Lindström made changes -
          Description For some reason 10.4 and 10.5 are different compared to 10.6 where we have

          {noformat}
          mysql_mutex_assert_owner(&thd->LOCK_thd_data);
          {noformat}

          This function accesses THD variables so this requirement is correct except when called holding lock_sys mutex or latch, because then transaction and it's thd cant be freed.
          For some reason 10.4 and 10.5 are different compared to 10.6 where we have

          {noformat}
          mysql_mutex_assert_owner(&thd->LOCK_thd_data);
          {noformat}

          This function accesses THD variables so this requirement is correct except when called holding lock_sys mutex or latch, because then transaction and it's thd cant be freed and wsrep state change is not possible.
          janlindstrom Jan Lindström made changes -
          Assignee Jan Lindström [ JIRAUSER53125 ] Julius Goryavsky [ sysprg ]
          Status In Progress [ 3 ] In Review [ 10002 ]
          sysprg Julius Goryavsky made changes -
          Status In Review [ 10002 ] Stalled [ 10000 ]
          sysprg Julius Goryavsky made changes -
          Status Stalled [ 10000 ] In Progress [ 3 ]
          sysprg Julius Goryavsky made changes -
          Fix Version/s 10.4.34 [ 29625 ]
          Fix Version/s 10.4 [ 22408 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          JIraAutomate JiraAutomate made changes -
          Fix Version/s 10.5.25 [ 29626 ]
          Fix Version/s 10.6.18 [ 29627 ]
          Fix Version/s 10.11.8 [ 29630 ]
          Fix Version/s 11.0.6 [ 29628 ]
          Fix Version/s 11.1.5 [ 29629 ]
          Fix Version/s 11.2.4 [ 29631 ]
          Fix Version/s 11.4.2 [ 29633 ]

          People

            sysprg Julius Goryavsky
            janlindstrom Jan Lindström
            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.