mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
MDEV-6506: InnoDB: Assertion failure in thread 2810182464 in file
buf0flu.cc line 549. Analysis: If buf_page_get_state(bpage) == BUF_BLOCK_REMOVE_HASH then buf_page_in_file(bpage) might not be true. Fix: ut_a(buf_page_in_file(bpage) || buf_page_get_state(bpage) == BUF_BLOCK_REMOVE_HASH);
This commit is contained in:
parent
f9eeeae3c9
commit
c2536764d8
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ buf_flush_ready_for_flush(
|
||||||
ut_ad(flush_type < BUF_FLUSH_N_TYPES);
|
ut_ad(flush_type < BUF_FLUSH_N_TYPES);
|
||||||
ut_ad(mutex_own(buf_page_get_mutex(bpage))
|
ut_ad(mutex_own(buf_page_get_mutex(bpage))
|
||||||
|| flush_type == BUF_FLUSH_LIST);
|
|| flush_type == BUF_FLUSH_LIST);
|
||||||
ut_a(buf_page_in_file(bpage));
|
ut_a(buf_page_in_file(bpage) || buf_page_get_state(bpage) == BUF_BLOCK_REMOVE_HASH);
|
||||||
|
|
||||||
if (bpage->oldest_modification == 0
|
if (bpage->oldest_modification == 0
|
||||||
|| buf_page_get_io_fix_unlocked(bpage) != BUF_IO_NONE) {
|
|| buf_page_get_io_fix_unlocked(bpage) != BUF_IO_NONE) {
|
||||||
|
|
Loading…
Reference in a new issue