Skip to content
Permalink
Browse files
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.
  • Loading branch information
Thirunarayanan committed Aug 20, 2020
1 parent e9d6f1c commit a79c257
Showing 1 changed file 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);

0 comments on commit a79c257

Please sign in to comment.