Skip to content
  • Marko Mäkelä's avatar
    b7a0c7f5
    Bug#20874411 INNODB SHUTDOWN HANGS IF INNODB_FORCE_RECOVERY>=3 · b7a0c7f5
    Marko Mäkelä authored
    
    SKIPPED ANY ROLLBACK
    
    trx_sys_any_active_transactions(): If any prepared ACTIVE transactions
    exist, and their rollback was prevented by innodb_force_recovery,
    convert these transactions to XA PREPARE state in the main-memory
    data structures, so that shutdown will proceed normally. These transactions
    will again recover as ACTIVE on the next restart, and they will be rolled
    back unless innodb_force_recovery>=3 again.
    
    trx_undo_fake_prepared(): An auxiliary function to set an undo log to
    PREPARED state.
    
    RB: 8610
    Reviewed-by: default avatarJimmy Yang <jimmy.yang@oracle.com>
    b7a0c7f5
    Bug#20874411 INNODB SHUTDOWN HANGS IF INNODB_FORCE_RECOVERY>=3
    Marko Mäkelä authored
    
    SKIPPED ANY ROLLBACK
    
    trx_sys_any_active_transactions(): If any prepared ACTIVE transactions
    exist, and their rollback was prevented by innodb_force_recovery,
    convert these transactions to XA PREPARE state in the main-memory
    data structures, so that shutdown will proceed normally. These transactions
    will again recover as ACTIVE on the next restart, and they will be rolled
    back unless innodb_force_recovery>=3 again.
    
    trx_undo_fake_prepared(): An auxiliary function to set an undo log to
    PREPARED state.
    
    RB: 8610
    Reviewed-by: default avatarJimmy Yang <jimmy.yang@oracle.com>
Loading