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

Use atomic memory access for purge_sys

    XMLWordPrintable

Details

    Description

      This refactoring is motivated by MDEV-13987 and MDEV-11802.

      The variables purge_sys.state and purge_sys.running are sometimes being read without proper protection, and sometimes read while unnecessarily holding purge_sys.latch exclusively. It is cleaner to use a combination of purge_sys.latch and atomic memory access for writes, so that reads can use either protection.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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