• Jan Lindström's avatar
    MDEV-8390: innodb.innodb-flush-changed-page-bitmaps crashes · 4fac6269
    Jan Lindström authored
    Analysis: Flush changed page bitmaps calls log_online_follow_redo_log
    that later calls log_group_read_log_seg with release_mutex = true
    and that causes the log_sys mutex being released before
    log_decrypt_after_read function that later required log_sys mutex.
    
    Fix: Enter log_sys mutex before log_decrypt_after_read if mutex
    is released and release the mutex after the function if we
    acquired it before function call.
    4fac6269
log0log.cc 104 KB