Files
neon/pageserver
Christian Schwarz 008d2a22d9 compact_level0_phase1: hold layer map lock while layer iters are alive
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
2023-03-02 09:57:56 +01:00
..
2023-02-03 15:33:46 +02:00
2023-02-09 13:33:55 +01:00