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 added a comment - https://github.com/MariaDB/server/pull/3214
          sysprg Julius Goryavsky added a comment - Fix merged with head revision: https://github.com/MariaDB/server/commit/fbfb5a6f59ccf6cefffc373e3a5776d49604c64f

          A change for 10.4/10.5 has also been published, which is only needed to unify the code between versions in order to facilitate the next merges (since code discrepancies between versions complicate the subsequent correction process): https://github.com/MariaDB/server/commit/a2fee2da0b4351dd34929eb4871be59a0c70da01

          sysprg Julius Goryavsky added a comment - A change for 10.4/10.5 has also been published, which is only needed to unify the code between versions in order to facilitate the next merges (since code discrepancies between versions complicate the subsequent correction process): https://github.com/MariaDB/server/commit/a2fee2da0b4351dd34929eb4871be59a0c70da01

          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.