Skip to content

Commit 62516c5

Browse files
committed
MDEV-22816 Assertion `node->space == fil_system.sys_space' failed in fil_aio_callback
fil_aio_callback(): Remove a bogus assertion that was added in commit b1ab211 (MDEV-15053). We will have !bpage for any write by buf_flush_freed_page().
1 parent 095d656 commit 62516c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

storage/innobase/fil/fil0fil.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3966,10 +3966,9 @@ void fil_aio_callback(os_aio_userdata_t *data)
39663966
buf_page_t *bpage= static_cast<buf_page_t*>(data->message);
39673967
if (!bpage)
39683968
{
3969-
/* Asynchronous single page writes from the doublewrite buffer
3970-
don't have access to the page. */
3969+
/* Asynchronous single page writes from the doublewrite buffer,
3970+
or calls from buf_flush_freed_page() don't have access to the page. */
39713971
ut_ad(data->type.is_write());
3972-
ut_ad(node->space == fil_system.sys_space);
39733972
ut_ad(!srv_read_only_mode);
39743973
write_completed:
39753974
mutex_enter(&fil_system.mutex);

0 commit comments

Comments
 (0)