mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
MDEV-24765 fseg_free_extent fails to call buf_page_free() for the whole segment
This is caused by commit c92f7e287fc0e21dc1b181284b1f8e2139d1c331(MDEV-8139). InnoDB fails to set the page status as FREED in buffer pool while freeing the extent.
This commit is contained in:
parent
b5dab19efa
commit
b76e5c6610
1 changed files with 2 additions and 2 deletions
|
@ -2635,9 +2635,9 @@ fseg_free_extent(
|
|||
|
||||
fsp_free_extent(space, page, mtr);
|
||||
|
||||
for (ulint i = 0; i < FSP_EXTENT_SIZE; i++) {
|
||||
for (uint32_t i = 0; i < FSP_EXTENT_SIZE; i++) {
|
||||
if (!xdes_is_free(descr, i)) {
|
||||
buf_page_free(space, first_page_in_extent + 1, mtr,
|
||||
buf_page_free(space, first_page_in_extent + i, mtr,
|
||||
__FILE__, __LINE__);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue