• Eugene Kosov's avatar
    MDEV-27022 Buffer pool is being flushed during recovery · f443cd11
    Eugene Kosov authored
    The problem was introduced by the removal of buf_pool.flush_rbt
    in commit 46b1f500 (MDEV-23399)
    
    recv_sys_t::apply(): don't write to disc and fsync() the last batch.
    Insead, sort it by oldest_modification for MariaDB server and some
    mariabackup operations.
    
    log_sort_flush_list(): a thread-safe function which sorts buf_pool::flush_list
    f443cd11
log0recv.cc 113 KB