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

Port "Bug #11745929 Change lock priority so that the transaction holding S-lock gets X-lock first" fix from MySQL to MariaDB

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.5(EOL), 10.6, 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.3(EOL), 11.4, 11.5(EOL), 11.6(EOL), 11.7(EOL)
    • 11.4.5, 11.7.2

    Description

      MDEV-27025 describes the following case:
      1. trx1 gets an S-lock granted
      2. trx2 wants an X-lock, but has to wait for trx1
      3. trx1 now wants an X-lock, but waits for trx2

      The try to fix MDEV-27025 caused MDEV-27992, what made us to revert MDEV-27025 fix(see also this comment). It seems, MySQL's "Bug #11745929" fix solves MDEV-27025 issue.

      Attachments

        Issue Links

          Activity

            People

              vlad.lesin Vladislav Lesin (Inactive)
              vlad.lesin Vladislav Lesin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 9.4d Original Estimate - 9.4d
                  9.4d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 46d 2.5h
                  46d 2.5h

                  Git Integration

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