Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
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
- relates to
-
MDEV-11802 innodb.innodb_bug14676111 fails in buildbot due to InnoDB purge failing to start when there is work to do
- Closed
-
MDEV-13987 Hang in FLUSH TABLES…FOR EXPORT
- Closed