Re: SimpleLruTruncate() mutual exclusion
Dmitry Dolgov <9erthalion6@gmail.com>
From: Dmitry Dolgov <9erthalion6@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2020-01-30T15:34:33Z
Lists: pgsql-hackers
> On Sun, Nov 17, 2019 at 10:14:26PM -0800, Noah Misch wrote: > > > I'm probably missing something, so just wanted to clarify. Do I > > understand correctly, that thread [1] and this one are independent, and > > it is assumed in the scenario above that we're at the end of XID space, > > but not necessarily having rounding issues? I'm a bit confused, since > > the reproduce script does something about cutoffPage, and I'm not sure > > if it's important or not. > > I think the repro recipe contained an early fix for the other thread's bug. > While they're independent in principle, I likely never reproduced this bug > without having a fix in place for the other thread's bug. The bug in the > other thread was easier to hit. Just to clarify, since the CF item for this patch was withdrawn recently. Does it mean that eventually the thread [1] covers this one too? [1]: https://www.postgresql.org/message-id/flat/20190202083822.GC32531%40gust.leadboat.com
Commits
-
Prevent concurrent SimpleLruTruncate() for any given SLRU.
- e525770dd504 10.15 landed
- d4031d78460c 11.10 landed
- 5ae01df6f6ef 9.6.20 landed
- 3fbbf64ceecb 9.5.24 landed
- 592a589a04bd 13.0 landed
- 30e68a2abb38 12.5 landed
- 566372b3d643 14.0 landed
-
Rename SLRU structures and associated LWLocks.
- 5da14938f7bf 13.0 cited
-
Improve ANALYZE's handling of concurrent-update scenarios.
- 7170268efd51 12.0 cited
-
Avoid consuming an XID during vac_truncate_clog().
- 996d273978c6 9.6.0 cited