mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 08:52:56 +00:00
The iters hold onto page cache pages, via their internal BlockCursor. If we acquire these page cache locks without holding the layer map lock, another thread can come, acquire the the layer map lock, and try to lock the same cache pages. Deadlock. Let's see whether the deadlock from #3712 still reproduces with this fix. refs #3712