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

HANDLER READ doesn't upgrade metadata lock from S to SR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.0.17, 10.1.3
    • Fix Version/s: 10.1.4
    • Component/s: Locking
    • Labels:
      None

      Description

      This problem was fixed along with MySQL WL#6671 "Improve scalability by not using thr_lock.c locks for InnoDB tables".

      Change code for HANDLER READ statements to upgrade S metadata lock to
      SR metadata lock for the duration of read. This allows us properly
      isolate HANDLER READ from LOCK TABLES WRITE and makes metadata locking
      for these statements consistent with locking for other DML.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              svoj Sergey Vojtovich
              Reporter:
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration