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

Possible hang in trx_undo_prev_version()

    XMLWordPrintable

Details

    Description

      MDEV-34515 makes the InnoDB MVCC code acquire a shared purge_sys.latch twice. Recursive shared latch acquisition may cause a deadlock of InnoDB threads if another thread in between will start waiting for an exclusive latch.

      Stack traces of the hang were provided earlier by elenst and again this week by mleich. With a debug patch applied, mleich was able to generate an rr replay trace that clearly shows this problem.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              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.