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

move MDL from THD to st_transaction

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 10.6
    • Component/s: Locking
    • Labels:
      None

      Description

      MDL belongs to a transaction, not to a connection. For example, when a transaction is moved to a different thd, MDLs should be moved too.

      Problem, what if a connection owns more than one open transaction and they have conflicting lock requests? It cannot wait on itself, so deadlock detector has to be able to detect a loop right away.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wlad Vladislav Vaintroub
              Reporter:
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: