summaryrefslogtreecommitdiff
path: root/storage/perfschema
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-01-03 17:42:13 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-01-03 17:42:13 +0200
commitc410f7aaea400eb98f13552725b685a2513aafcb (patch)
tree725d81b14306103063ad66569b4fe7ec20f15e9e /storage/perfschema
parent30b917d34adc27e55a1326406a22e2a6d0a87817 (diff)
downloadmariadb-git-c410f7aaea400eb98f13552725b685a2513aafcb.tar.gz
MDEV-27414 Server may hang when innodb_undo_log_truncate=ON
trx_purge_truncate_history(): Avoid a deadlock with buf_pool_t::release_freed_page(). Page latches are not supposed to be waited for while holding a mutex like buf_pool.mutex or buf_pool.flush_list_mutex. This regression was caused by commit aaef2e1d8c843d1e40b1ce0c5199c3abb3c5da28 (MDEV-27058). Before that, trx_purge_truncate_history() would buffer-fix the block, release buf_pool.flush_list_mutex, and then wait for the exclusive page latch. This bug led to occasional failures of the test innodb.undo_truncate_recover.
Diffstat (limited to 'storage/perfschema')
0 files changed, 0 insertions, 0 deletions