Re: VACUUM can finish an interrupted nbtree page split -- is that okay?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2019-05-14T03:29:59Z
Lists: pgsql-hackers
Peter Geoghegan <pg@bowt.ie> writes: > To be fair, I suppose that the code made more sense when it first went > in, because at the time there was a chance that there could be > leftover half-dead internal pages. But, that was a long time ago now. Is there a good reason to assume there are none left anywhere? regards, tom lane
Commits
-
Remove extra nbtree half-dead internal page check.
- 3f58cc6dd8fc 12.0 landed
-
Note case where nbtree VACUUM finishes splits.
- 35bc0ec7c800 12.0 landed
-
Fix error when trying to delete page with half-dead left sibling.
- 8da31837803e 9.4.0 cited
-
Fix race condition in B-tree page deletion.
- efada2b8e920 9.4.0 cited