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

MDEV-15250 causes latch order violation

Details

    Description

      MDEV-15250 introduced latch order violation that index page latches must be acquired before undo log pages latches. But in trx_t::apply_log(), we do acquire undo log page latch before taking index page latch.

      InnoDB should copy the undo log record in trx_t::apply_log() and release the
      undo log block

      Attachments

        Issue Links

          Activity

            MDEV-15250 introduced latch order violation that index page latches must be acquired before undo log pages latches. But in trx_t::apply_log(), we do acquire undo log page latch before taking index page latch.

            InnoDB should copy the undo log record in trx_t::apply_log() and release the
            undo log block

            thiru Thirunarayanan Balathandayuthapani added a comment - MDEV-15250 introduced latch order violation that index page latches must be acquired before undo log pages latches. But in trx_t::apply_log() , we do acquire undo log page latch before taking index page latch. InnoDB should copy the undo log record in trx_t::apply_log() and release the undo log block

            Patch is in bb-10.6-MDEV-28443

            thiru Thirunarayanan Balathandayuthapani added a comment - Patch is in bb-10.6- MDEV-28443

            People

              marko Marko Mäkelä
              thiru Thirunarayanan Balathandayuthapani
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.