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

InnoDB: don't take trx_sys.mutex in ReadView::open()

    XMLWordPrintable

    Details

      Description

      This is something that wasn't addressed during the large trx_sys refactoring. Taking trx_sys.mutex is bad for 2 reasons:

      • it is not intended for synchronisation between purge and connection threads
      • it is a global mutex on a hot-path that can be avoided.

        Attachments

          Activity

            People

            Assignee:
            svoj Sergey Vojtovich
            Reporter:
            svoj Sergey Vojtovich
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: