diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-11-13 20:12:29 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-11-13 20:16:39 +0200 |
commit | bb328a2a274b0b5cc024f298fcac70b3f0fb75aa (patch) | |
tree | cfce8af41648225f8a6a0ac344b75f3bb4c8b3ed /unittest | |
parent | 190e8a4c2aeb417b405756b193e135c542d46b34 (diff) | |
download | mariadb-git-bb328a2a274b0b5cc024f298fcac70b3f0fb75aa.tar.gz |
MDEV-24188 Hang in buf_page_create() after reusing a previously freed page
The fix of MDEV-23456 (commit b1009ae5c16697d5eef443cc6a60a74301148c73)
introduced a livelock between page flushing and a thread that is
executing buf_page_create().
buf_page_create(): If the current mini-transaction is holding
an exclusive latch on the page, do not attempt to acquire another
one, and do not care about any I/O fix.
mtr_t::have_x_latch(): Replaces mtr_t::get_fix_count().
dyn_buf_t::for_each_block(const Functor&) const: A new variant.
rw_lock_own(): Add a const qualifier.
Reviewed by: Thirunarayanan Balathandayuthapani
Diffstat (limited to 'unittest')
0 files changed, 0 insertions, 0 deletions