• Marko Mäkelä's avatar
    MDEV-27967 Assertion !buf_pool.any_io_pending() failed · a710016d
    Marko Mäkelä authored
    The test innodb.log_file_size would occasionally crash in
    a debug assertion failure in srv_prepare_to_delete_redo_log_file().
    In the core dump, the assertion would hold.
    
    buf_pool_t::any_io_pending(): Avoid dirty reads by acquiring
    buf_pool.mutex. This function is only being invoked in debug builds,
    so we do not care about any performance impact.
    a710016d
buf0buf.h 79.4 KB