Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6, 10.7(EOL), 10.8(EOL)
Description
In mtr_t::commit(), we acquire log_sys.mutex even when no redo log has been generated.
Before log_sys.lsn was changed to be std::atomic in MariaDB 10.5.2, acquiring the mutex was necessary. Likewise, before MDEV-12227 in MariaDB 10.5.9, pages of temporary tablespace were being added to the buf_pool.flush_list. After those changes, there should be no reason to acquire log_sys.mutex when committing a mini-transaction that is not changing any persistent data.
Attachments
Issue Links
- relates to
-
MDEV-12227 Defer writes to the InnoDB temporary tablespace
-
- Closed
-
-
MDEV-14425 Change the InnoDB redo log format to reduce write amplification
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Link |
This issue relates to |
issue.field.resolutiondate | 2022-02-09 14:52:31.0 | 2022-02-09 14:52:31.414 |
Fix Version/s | 10.5.15 [ 26810 ] | |
Fix Version/s | 10.6.7 [ 26812 ] | |
Fix Version/s | 10.7.3 [ 26814 ] | |
Fix Version/s | 10.8.2 [ 26816 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.8 [ 26121 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |