Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
N/A
Description
MDEV-34515 makes the InnoDB MVCC code acquire a shared purge_sys.latch twice. Recursive shared latch acquisition may cause a deadlock of InnoDB threads if another thread in between will start waiting for an exclusive latch.
Stack traces of the hang were provided earlier by elenst and again this week by mleich. With a debug patch applied, mleich was able to generate an rr replay trace that clearly shows this problem.
Attachments
Issue Links
- is caused by
-
MDEV-34515 Contention between secondary index UPDATE and purge due to large innodb_purge_batch_size
- Closed