mariadb/storage/innobase/srv
Marko Mäkelä e0084b9d31 MDEV-31234 InnoDB does not free UNDO after the fix of MDEV-30671
trx_purge_truncate_history(): Only call trx_purge_truncate_rseg_history()
if the rollback segment is safe to process. This will avoid leaking undo
log pages that are not yet ready to be processed. This fixes a regression
that was introduced in
commit 0de3be8cfd (MDEV-30671).

trx_sys_t::any_active_transactions(): Separately count XA PREPARE
transactions.

srv_purge_should_exit(): Terminate slow shutdown if the history size
does not change and XA PREPARE transactions exist in the system.
This will avoid a hang of the test innodb.recovery_shutdown.

Tested by: Matthias Leich
2023-05-19 12:19:26 +03:00
..
srv0mon.cc Merge branch '10.4' into 10.5 2022-05-18 09:50:26 +02:00
srv0srv.cc MDEV-31234 InnoDB does not free UNDO after the fix of MDEV-30671 2023-05-19 12:19:26 +03:00
srv0start.cc Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00