mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 11:57:38 +02:00
MDEV-23452 Assertion `buf_page_get_io_fix(bpage) == BUF_IO_NONE' failed
in buf_page_set_sticky - Adding os_thread_yield() in buf_page_create() to avoid the continuous buffer pool mutex acquistions.
This commit is contained in:
parent
e9d6f1c7ac
commit
a79c257894
1 changed files with 2 additions and 0 deletions
|
|
@ -5600,6 +5600,8 @@ buf_page_create(
|
|||
buf_pool_mutex_exit(buf_pool);
|
||||
rw_lock_x_unlock(hash_lock);
|
||||
|
||||
os_thread_yield();
|
||||
|
||||
buf_pool_mutex_enter(buf_pool);
|
||||
rw_lock_x_lock(hash_lock);
|
||||
mutex_enter(&block->mutex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue