Re: Avoiding another needless ERROR during nbtree page deletion
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-25T22:40:16Z
Lists: pgsql-hackers
On Mon, May 22, 2023 at 10:59 AM Peter Geoghegan <pg@bowt.ie> wrote: > Attached is v2, which does it that way. It also adjusts the approach > taken to release locks and pins when the left sibling validation check > fails. I pushed this just now, backpatching all the way. > Not including a revised amcheck patch here, since I'm not exactly sure > what to do with your feedback on that one just yet. I'd like to go with a minimal approach in my patch to address the remaining issue in amcheck. Something similar to the patch that was posted as part of v1. While it seems important to address the issue, making sure that we have coverage of the leftmost page really being half-dead (as opposed to something that would constitute corruption) seems much less important. Ideally we'd have exhaustive coverage, but it's not a priority for me right now. -- Peter Geoghegan
Commits
-
nbtree VACUUM: cope with right sibling link corruption.
- 5abff197cc3e 16.0 landed
- 6983a511288c 15.4 landed
- 322c9b340ada 14.9 landed
- 8f876d15ca93 13.12 landed
- 188dad680e8f 12.16 landed
- a72b503ca828 11.21 landed
-
Backpatch nbtree page deletion hardening.
- 43e409cea468 13.9 cited
-
nbtree VACUUM: Cope with buggy opclasses.
- 5b861baa550a 14.0 cited