Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11
Description
While testing MDEV-29986 and some other changes, wlad noted that the function buf_read_page_low() is allocating and freeing a block in buf_pool.LRU when the requested page exists in the buffer pool.
The code has been refactored in 10.5 and 10.6, but this does not look like a regression: the logic always seems to have been like that.
Thanks to the refactored buf_pool.page_hash in 10.5 (MDEV-22871) and the lock elision (MDEV-26769), it could be faster to perform extra lookups to avoid unnecessary allocation and some contention on buf_pool.mutex.
Attachments
Issue Links
- causes
-
MDEV-30911 Multi-batch recovery of ROW_FORMAT=COMPRESSED table hangs
-
- Closed
-
- includes
-
MDEV-26662 buf_read_page_background() is blocking on LRU eviction
-
- Closed
-
- relates to
-
MDEV-29694 Remove the InnoDB change buffer
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue relates to |
Fix Version/s | 10.12 [ 28320 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.10 [ 27530 ] | |
Fix Version/s | 10.11 [ 27614 ] |
Fix Version/s | 11.0.1 [ 28548 ] | |
Fix Version/s | 11.0 [ 28320 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue includes |
This change is easier to implement after removing the InnoDB change buffer (
MDEV-29694).