• Marko Mäkelä's avatar
    MDEV-19587 innodb_force_recovery=5 crash on DROP SCHEMA · 1ca75ae1
    Marko Mäkelä authored
    At higher levels of innodb_force_recovery, the InnoDB transaction
    subsystem will not be set up at all.
    
    At slightly lower levels, recovered transactions will not be rolled back,
    and DDL operations could hang due to locks being held at all.
    
    Let us consistently refuse all writes if the predicate
    high_level_read_only holds. We failed to refuse DROP TABLE
    and DROP DATABASE. (Refusing DROP TABLE is a partial backport
    from MDEV-19570 in the 10.5 branch.)
    1ca75ae1
innodb_force_recovery.result 4.13 KB