mariadb/storage/innobase/lock
Marko Mäkelä b78b77e77d MDEV-32530 Race condition in lock_wait_rpl_report()
After acquiring lock_sys.latch, always load trx->lock.wait_lock.
It could have changed by another thread that did lock_rec_move()
and released lock_sys.latch right before lock_sys.wr_lock_try()
succeeded.

This regression was introduced in
commit e039720bf3 (MDEV-32096).

Reviewed by: Vladislav Lesin
2023-10-24 14:33:14 +03:00
..
lock0iter.cc MDEV-20612: Replace lock_sys.mutex with lock_sys.latch 2021-02-11 14:52:10 +02:00
lock0lock.cc MDEV-32530 Race condition in lock_wait_rpl_report() 2023-10-24 14:33:14 +03:00
lock0prdt.cc Merge 10.5 into 10.6 2022-09-20 16:53:20 +03:00