• Marko Mäkelä's avatar
    MDEV-33156 Crash on innodb_buf_flush_list_now=ON and innodb_force_recovery=6 · cc5c0eda
    Marko Mäkelä authored
    srv_start(): Move a read only mode startup tweak from
    innodb_init_params() to the correct location. Also if
    innodb_force_recovery=6 we will disable the doublewrite buffer,
    because InnoDB must run in read-only mode to prevent further corruption.
    
    This change only affects debug checks. Whenever srv_read_only_mode holds,
    the buf_pool.flush_list will be empty, that is, there will be no writes
    of persistent InnoDB data pages.
    
    Reviewed by: Thirunarayanan Balathandayuthapani
    cc5c0eda
ibuf_not_empty.test 4.15 KB