Browse Source
MDEV-15832 With innodb_fast_shutdown=3, skip the rollback of connected transactions
MDEV-15832 With innodb_fast_shutdown=3, skip the rollback of connected transactions
row_undo_step(): If innodb_fast_shutdown=3 has been requested, abort the rollback of any non-DDL transactions. Starting with MDEV-12323, we aborted the rollback of recovered transactions. The transactions would be rolled back on subsequent server startup. trx_roll_report_progress(): Renamed from trx_roll_must_shutdown(), now that the shutdown check has been moved to the only caller. trx_commit_low(): Allow mtr=NULL for transactions that are aborted on rollback. trx_rollback_finish(): Clean up aborted transactions to avoid assertion failures and memory leaks on shutdown. This code was previously in trx_rollback_active(). trx_rollback_to_savepoint_low(), trx_rollback_for_mysql_low(): Remove some redundant assertions.pull/608/merge
11 changed files with 90 additions and 85 deletions
-
3mysql-test/suite/innodb/r/innodb_prefix_index_restart_server.result
-
3mysql-test/suite/innodb/t/innodb_prefix_index_restart_server.test
-
4mysql-test/suite/sys_vars/r/innodb_fast_shutdown_basic.result
-
4mysql-test/suite/sys_vars/r/sysvars_innodb.result
-
4mysql-test/suite/sys_vars/t/innodb_fast_shutdown_basic.test
-
4storage/innobase/handler/ha_innodb.cc
-
8storage/innobase/include/trx0roll.h
-
12storage/innobase/include/trx0trx.h
-
13storage/innobase/row/row0undo.cc
-
103storage/innobase/trx/trx0roll.cc
-
17storage/innobase/trx/trx0trx.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue