Re: pgsql: Avoid improbable PANIC during heap_update.
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jaime Casanova <jcasanov@systemguards.com.ec>,
pgsql-committers@lists.postgresql.org
Date: 2022-10-01T01:29:28Z
Lists: pgsql-hackers
On Fri, Sep 30, 2022 at 5:09 PM Peter Geoghegan <pg@bowt.ie> wrote: > In any case we cannot really treat the information that we have about > that as a bug report -- not as things stand. Why should the question > of whether or not we ever set a page PD_ALL_VISIBLE without a cleanup > lock on v13 be a mystery at all? Why wouldn't a simple grep get to the > bottom of it? I have to imagine that the true explanation is very > simple and boring. I talked to Robins about this privately. I was wrong; there isn't a simple or boring explanation. Robins set out to find bugs like this in Postgres via stress-testing. He used a lab environment for this, and was quite methodical. So there is no reason to doubt that a PANIC happened on v13 at least once. There must be some relatively complicated explanation for that, but right now I can only speculate. -- Peter Geoghegan
Commits
-
Avoid improbable PANIC during heap_update, redux.
- 2dc2e4e31adb 16.0 landed
- e7bd2d671249 12.13 landed
- b93d7e6883d6 14.6 landed
- 92941f26435c 13.9 landed
- 2267085c1688 15.0 landed
-
Fix race condition where heap_delete() fails to pin VM page.
- 163b0993a162 16.0 cited
-
Avoid improbable PANIC during heap_update.
- 34f581c39e97 14.0 cited