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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 7.25h
                  7.25h

                  Git Integration

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