• Marko Mäkelä's avatar
    MDEV-22031 Assertion bpage->in_page_hash failed in buf_pool_watch_set · 9a7d284e
    Marko Mäkelä authored
    commit 121a5e8d revised the function
    buf_pool_watch_unset() in such a way that the debug field
    buf_page_t::in_page_hash is no longer protected by buf_pool.mutex
    and thus not safe to access by the debug assertion in
    buf_pool_watch_set().
    
    For now, let us revert the change to buf_pool_watch_unset()
    and have it acquire the buf_pool.mutex for a longer time.
    9a7d284e
buf0buf.cc 161 KB